MEASUREMENT: JOURNAL OF THE INTERNATIONAL MEASUREMENT CONFEDERATION, cilt.225, sa.114063, ss.1-19, 2023 (SCI-Expanded)
In recent years, there has been a notable surge in the utilization of industrial image processing applications across various sectors, including automotive, medical, and space industries. These applications rely on specialized camera systems and advanced image processing techniques to accurately measure working products with precise tolerances. This research presents a novel fast algorithm for measuring the diameter of a ring, employing a subpixel counting method. The algorithm classifies image pixels into two categories: full pixels and transition pixels. Full pixels reside entirely within the inner region of the workpiece, while transition pixels represent gray pixels that reside at the boundary between the workpiece and its background. To ensure accurate determination of the object area, the proposed method incorporates normalization to account for the contribution of transition pixels alongside full pixels. Subsequently, the circle area equation is employed to calculate the diameter. Moreover, a robust threshold selection method is introduced to effectively distinguish pixels with gray intensities. The experimental setup consists of an industrial camera equipped with telecentric lenses and appropriate illumination. The results demonstrate that the proposed algorithm achieves a 3-10 % improvement in accuracy compared to existing approaches. In terms of measuring sensitivity, the operational sensitivity of the proposed methodology is quantified as 1/20th of the pixel size, exhibiting an average uncertainty of 1 mu m. Furthermore, the proposed method surpasses existing works by at least 12.5 % to 35 % in terms of benchmarking computing time.