A Method of Thresholding Segmentation and Spot Center Coordinates Calculation for Light Spot-Image
It is often asked to extract the regions of light spot from light spot-image,and calculate their center coordinates in industry measurement.The light spot-images are characterized by darkand large background,bright and small target(spot).Proposes a thresholding segmentation algorithm for light spot-image,a method to calculate a single spot coordinates using center of gravity,and presents a method to calculate the coordinates of multiple light spots using connected component labeling and sorting based on size of regions.Experimental result shows that the proposed method can obtain better performance of segmenting regions of light spot from light spot-image than other thresholding segmentation methods,and its result is closest to that of thresholding segmentation of artificial selection.The method can accurately calculate the coordinates of light spots and it has lower computation time.