How to detected isolated/closed contours?

14 ビュー (過去 30 日間)
Upupaepops
Upupaepops 2014 年 4 月 24 日
回答済み: Image Analyst 2014 年 4 月 24 日
Hello. I'd like to know if there are any functions that I can use to detect detached and isolated closed contour lines. I've obtained the contour lines by using:
[C,h] = contourf(...)
But C gives location of points in contours of the same value, and I find it hard to sort out those which forms a close loop and those spread over the space domain. I wonder if there're any algorithms to detect closed contour / detached filament like those in the following image? (I use arrows to indicate some filaments of interest)
Thanks for any kind help.

回答 (1 件)

Image Analyst
Image Analyst 2014 年 4 月 24 日
I think you should be able to use imregionalmax and imregionalmin in the Image Processing Toolbox.

カテゴリ

Help Center および File ExchangeContour Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by