提出一种对图像中每个点逐一取阈值进行分类的一种新的阈值分割算法。该算法利用图像中像素邻域的灰度值均值统计信息作为该点阈值设置的标准,并引入该点邻域内像素灰度值方差作为附加判断条件,使提取出来的目标点是图像的边缘点。事实上该阈值分割算法起到了边缘提取的效果。实验证明,本文算法起到了良好的边缘检测效果,并且验证了本算法对于以邻域统计信息作为阂值估计标准的合理性。
A new segmentation algorithm in which each pixel in the image has its own threshold is proposed. The threshold of a pixel in an image is estimated by calculating the mean of the grayscale values of the neighborhood pixels of the pixel, and the square deviation of the grayscale values of the neighborhood pixels is also calculated as an additional judge condition, so that the result of the proposed algorithm is the edge of the image. Experimental results demonstrate that the proposed algorithm could get the precise edge of the image, while it is reasonable to estimate the threshold of a pixel through the statistic information of its neighborhood pixels.