​对含有多个目标的灰度图像,进行基于阈值的图像分割处理我要分享

The gray image with multiple targets is segmented based on threshold

图像颜色分割 圆形度 图像分割

关注次数: 339

下载次数: 0

文件大小: 1KB

代码分类: 图像处理

开发平台: matlab

下载需要积分: 1积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:

对指定的一幅含有多个目标的灰度图像,进行基于阈值的图像分割处理,对结果图像进行基于数学形态学的后处理设计,以得到更理想的目标区域。最后对结果图像进行区域标记(以颜色区分不同区域)并提取目标个数、各目标区域的面积、圆形度等特征。


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.


代码预览

four.m