Purpose
The traditional methods have difficulty to inspection various types of copper strips defects as inclusions, pits and delamination defects under uneven illumination. Therefore, this paper aims to propose an optimal real Gabor filter model for inspection; however, improper selection of Gabor parameters will cause the boundary between the defect and the background image to be not very clear. This will make the defect and the background cannot be completely separated.
Design/methodology/approach
The authors proposed an optimal Real Gabor filter model for inspection of copper surface defects under uneven illumination. This proposed method only requires a single filter by calculating the specific convolution energy of the Gabor filter with the image. The Real Gabor filter’s parameter is optimized by particle swarm optimization (PSO), which objective fitness function is maximization of the Gabor filter’s energy average divided by the energy standard deviation, the objective makes a distinction between the defect and normal area.
Findings
The authors have verified the effect with different iterations of parameter optimization using PSO, the effects with different control constant of energy and neighborhood window size of real Gabor filter, the experimental results on a number of metal surface have shown the proposed method achieved a well performance in defect recognition of metal surface.
Originality/value
The authors propose a defect detection method based on particle swarm optimization for single Gabor filter parameters optimization. This proposed method only requires a single filter and finds the best parameters of the Gabor filter. By calculating the specific convolution energy of the Gabor filter and the image, to obtain the best Gabor filter parameters and to highlight the defects, the particle swarm optimization algorithm’s fitness objective function is maximize the Gabor filter's average energy divided by the energy standard deviation.