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

1 次查看(过去 30 天)
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

采纳的回答

Walter Roberson
Walter Roberson 2014-2-21
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Argument Definitions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by