How to raise the size of a window automatically focused on a feature point in order to reach another one?

1 Ansicht (letzte 30 Tage)
Hello,
In order to connect two or more feature points(a specific form precised priviousely),
for example we have a 3*3 window centralised on a feature point and we want to extend that window automatically until reaching the other points detected previously in order to connect them(using shortest path algorithm)
Can you give ideas please! thank you

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 21 Feb. 2014
I don't think I would do it that way. Instead I would probably use bwdistgeodesic() to determine how far it was. Your first parameter, BW, would be the mask of the locations you want to extend towards the other feature(s). Your second parameter, mask, would be the mask of the locations you want to extend towards. The result of bwdistgeodesic() would tell you how far you have to go -- that is, how big the window would have to be.

Weitere Antworten (0)

Kategorien

Mehr zu Argument Definitions finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by