采用几种常用的阈值分割算法以及一种最大类间方差法的推广方法对棒材端面图像进行分割,将其分为目标区域和背景区域两部分,通过比较得出对棒材端面图像最有效的阈值分割算法。实验结果表明,迭代法和最大类间方差法的推广方法对图像的分割效果较好。
In order to divide the bar face image into target area and background area,we adopted several commonly used threshold segmentation algorithms and a promotional method of Otsu to the image segmentation,and obtained the most effective image threshold segmentation algorithm for the bar face image by implementation and comparison. Experimental results show that the iterative method and the extensional method of Otsu have good segmentation for the bar face image.