watershed algorithm

I have an image i want to draw a vertical line indicating that there are 2 objects(indicating the separation ) ,in which one is hidden by other by water shed algorithm ,plesae help

回答(1 个)

Image Analyst
Image Analyst 2012-1-29

0 个投票

The dividing line may not be exactly vertical. This is done by the example in the help for the watershed. What more help do you need? Do you know that you can copy and paste text from the help to the code editor, and then run it? Give it a try.

2 个评论

Analyst what u said is ok,but for my coke image,how to differentiate two bottles ,my drawing linr
Have you provided me with anything to answer your question? Where did you upload your image? What does ",my drawing linr" mean? Why does the watershed example in the help not work for you?

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

提问:

2012-1-29

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by