In machine-vision-based systems for detecting foreign fibers, due to the background of the cotton\nlayer has the absolute advantage in the whole image, while the foreign fiber only account for a\nvery small part, and what�s more, the brightness and contrast of the image are all poor. Using the\ntraditional image segmentation method, the segmentation results are very poor. By adopting the\nmaximum entropy and genetic algorithm, the maximum entropy function was used as the fitness\nfunction of genetic algorithm. Through continuous optimization, the optimal segmentation threshold\nis determined. Experimental results prove that the image segmentation of this paper not\nonly fast and accurate, but also has strong adaptability.
Loading....