中文说明:
对指定的一幅含有多个目标的灰度图像,进行基于阈值的图像分割处理,对结果图像进行基于数学形态学的后处理设计,以得到更理想的目标区域。最后对结果图像进行区域标记(以颜色区分不同区域)并提取目标个数、各目标区域的面积、圆形度等特征。
English Description:
In order to get a more ideal target area, a gray image with multiple targets is segmented based on threshold, and a post-processing design based on mathematical morphology is applied to the result image. Finally, the result image is marked by Region (different regions are distinguished by color), and the number of targets, the area of each target region, circularity and other features are extracted.