Abstract:Regarding the inspection of solder pads for the bottom filling adhesive bonding of LED chips. This paper investigates a method for the multi-threshold segmentation of grayscale image using the local minimum points of histogram curve as the segmentation threshold. By smoothing the histogram curve and judging the conditions, the expected peaks and valleys are identified, and the corresponding minimum points are used as segmentation thresholds to achieve fast multi threshold image segmentation. Compared with the OTSU method for multi threshold segmentation and region growing algorithm, this method has lower computational complexity. In the identification and segmentation process of solder pads under LED chips with bottom filling adhesive bonding, the segmentation time is less than one percent of that of the OTSU method and region growing algorithm. This segmentation effect is better than the OTSU method. Moreover, it has strong adaptability to the overall grayscale differences of images, meeting the requirements for high UPH (Units Per Hour) in industrial production lines. This indicates that the method has a significant speed advantage in segmenting images with obvious peaks and valleys in the histogram curve.