基于Matlab的标记分水岭分割算法(imreconstruct)
1 綜述
Separating touching objects in an image is one of the more difficult image processing operations. The watershed transform is often applied to this problem. The watershed transform finds "catchment basins"(集水盆) and "watershed ridge lines"(山脊線) in an image by treating it as a surface where light pixels are high and dark pixels are low.
如果圖像中的目標(biāo)物體是連接在一起的,則分割起來會(huì)更困難,分水嶺分割算法經(jīng)常用于處理這類問題,通常會(huì)取得比較好的效果。分水嶺分割算法把圖像看成一幅“地形圖”,其中亮度比較強(qiáng)的區(qū)域像素值較大,而比較暗的區(qū)域像素值較小,通過尋找“匯水盆地”和“分水嶺界限”,對圖像進(jìn)行分割。
Segmentation using the watershed transform works better if you can identify, or "mark," foreground objects and background locations. Marker-controlled watershed segmentation follows this basic procedure:
直接應(yīng)用分水嶺分割算法的效果往往并不好,如果在圖像中對前景對象和背景對象進(jìn)行標(biāo)注區(qū)別
總結(jié)
以上是生活随笔為你收集整理的基于Matlab的标记分水岭分割算法(imreconstruct)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: hadoop使用lzo压缩文件笔记
- 下一篇: 基于MATLAB的dijkstra算法及