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

1 visualización (últimos 30 días)
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

Respuesta aceptada

Walter Roberson
Walter Roberson el 21 de Feb. de 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.

Más respuestas (0)

Categorías

Más información sobre Argument Definitions en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by