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

1 view (last 30 days)
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

Accepted Answer

Walter Roberson
Walter Roberson on 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.

More Answers (0)

Categories

Find more on Argument Definitions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!