Research on stoma segmentation algorithm of nickel plate surface based on machine vision
Aiming at the problems such as segmentation target stacking and secant line deviation in detection of metal nickel plate surface stomatal defects,a method of stomatal segmentation on nickel plate surface based on machine vision is proposed,which use the centroid marker to calculate the distance map.This algorithm uses industrial camera to construct machine vision system to obtain the surface image of the nickel plate.The regions of no interest are suppressed by piecewise linear gray transformation,and the stomatal region is then obtained by adaptive threshold segmentation and morphological processing of G-channel components.The minimum marks are then extracted by image difference,the distance map is calculated with the centroid by the minimum marks and segmented by the watershed.Experimental results show that the correct stomatal segmentation rate of this algorithm is 94.7%,and it can achieve more accurate stomatal segmentation effect.