Applied Sciences (Jun 2022)
Visual Scratch Defect Detection System of Aluminum Flat Tube Based on Cubic Bezier Curve Fitting Using Linear Scan Camera
Abstract
This paper presents a scratch detection system based on a cubic Bezier curve fitting using a linear scan camera. The objective was to detect the scratch defects of an aluminum flat tube stably in real-time under complex uncertain background noise. To that end, according to the features of the input image of the linear scan camera and the scratch defects, the proposed method first segmented the input image to ten equal sections in a longitudinal direction, and for every section, OTSU thresholding and morphological filtering were used to reduce the background noise. After the image preprocessing, every section image was projected along a vertical direction to form a vertical histogram. After that, for each point of every vertical histogram, a novel curve fitting method based on the Monte Carlo method was employed to calculate the best fitted Bezier curve. All the curvatures of the middle point of the best fitted Bezier curves then formed a curvature curve, and the scratches were located by finding the peaks of the curvature curve. Next, the result of the ten sections were fused to find the final positions of the scratches. The experimental results based on the linear scan camera that captured the image of flat tubes on a moving speed of 2m/s showed that the proposed method can detect the scratch defects under complex background noise with a high success rate in real-time.
Keywords