After horizontal tilt correction was processed,the contour image was divided into several fan-shaped sub areas with the centroid as the center.
首先采用轮廓提取算法,提取零件二值图像的轮廓,在进行水平倾斜校正后,以零件的质心为中心,将轮廓图像划分为若干个扇形子区域。