How can I detect islands in a contour plot?

I am trying to detect abnormalities in data with respect to two variables. (Imagine an smoothly varying image where you are trying to detect anomolies/discrepancies).
I can detect these manually by looking for islands in a contour map, but I can't seem to figure out how to algorithmically detect them. In particular, I am looking for a way to detect embedded islands (e.g. islands within islands).
How can I detect the regions where islands occur? Thanks

回答(1 个)

Hello,
If I didn't misunderstood your problem, I believe the Danielsson algorithm for map distance (CGIP, 14:227–248, 1980) could help you.
Regards, Florin

类别

帮助中心File Exchange 中查找有关 Contour Plots 的更多信息

提问:

2011-9-8

Community Treasure Hunt

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

Start Hunting!

Translated by