采用分水岭算法对图像进行分割我要分享

Watershed algorithm is used to segment the image

形态学-分水岭 对象-分割 局部分水岭 形态学重建 标记分水岭

关注次数: 284

下载次数: 1

文件大小: 116KB

代码分类: 图像处理

开发平台: matlab

下载需要积分: 1积分

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

代码描述

中文说明:

采用分水岭算法对图像进行分割。直接对图像进行分水岭算法,效果并不理想。本方法使用形态学重建技术对前景对象进行标记,求局部极大值,最终将分割好的图像进行伪彩色显示,让结果更加明显。适用于较复杂的图像分割处理。


English Description:

Watershed algorithm is used to segment the image. The effect of watershed algorithm is not ideal. In this method, morphological reconstruction technology is used to mark the foreground object, and the local maximum is calculated. Finally, the segmented image is displayed in pseudo color to make the result more obvious. It is suitable for complex image segmentation.


代码预览

fenshuiling.m

相关推荐