| Currently, pharmaceutical plastic packaging image segmentation is a hot research field ofmodern image segmentation, in pharmaceutical plastic packaging factory in order to detectthose drugs qualified or not, the key point is to do this step for image segmentation, visualdetection technology applies in the field of economy and scientific research, instead of humanconducts process validation and automatically tests products. Drugs in the pharmaceuticalindustry, the traditional manual detection of drugs is not only inefficient but also the quality oflabor-intensive, it is difficult to ensure production quality, prone to missed and false detection,so in order to avoid the above disadvantages of manual testing, pharmaceutical industries usemachine vision methods.The main work and innovation of this paper are as follows:1.This paper introduces the development of machine vision technology at home andabroad, summarizes the characteristics of machine vision technology and represents specificapplication in pharmaceutical production.2.This paper Studies the image preprocessing algorithms. represents specific severalimage preprocessing algorithms: histogram equalization, gray-scale transformation andmedian filtering. These algorithms are hard to get the desired image denoising pretreatmenteffect, in the analysis of the characteristics of the plastic packaging pills images based onmedian filtering algorithm,it proposes median filtering algorithm improved,then,it can get agood effect of image preprocessing.3.As two-dimensional Otsu during the image segmentation costs much time and theshortcomings of poor noise immunity, it proposes image segmentation method of atwo-dimensional Otsu Plastic packaging pills based on color space, it performs imagesegmentation based on image color space to a channel information combines withtwo-dimensional Otsu, it analyzes the specific characteristics of plastic packaging pills image,During plastic packaging pills image segmentation, using the Lab color space, test resultsshow that compares with other plastic tablet image segmentation algorithms, it proposesimage segmentation method of a two-dimensional Otsu Plastic packaging pills based on colorspace, The algorithm can get a good image segmentation. at the same time, the algorithm isnot only suitable for color image segmentation is also suitable for black and white imagesegmentation. |