How can I get the outer most contour of the syntax (contour)?
1 回表示 (過去 30 日間)
古いコメントを表示
Using the syntax (contour), I will have 10 contours for a binary image!! and when I assign 1 in the syntax, I will get the inner most contour. How can I get the outer most contour only?
4 件のコメント
Image Analyst
2018 年 2 月 26 日
編集済み: Image Analyst
2018 年 2 月 26 日
Please attach your binary image and tell us what you want. I think you can get what you want without using contour, such as by hole filling with imfill(), or by using bwperim(), bwconvhull(), or bwboundaries() or something. It really doesn't make much sense to use contour on a binary image if you think about it.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Contour Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!