An automatic version of / alternative to, "ginput" ?
Mostrar comentarios más antiguos
Hello,
I'm wondering is anyone aware of a way to automatically pass coordinates to "ginput", or declare the coordinates in my code and totally bypass the need for "ginput"?
I want to define the coordinates (which will always be the same)so I can use them as feature points to be compared against a database of images/arrays at the same points.
I hope this is clear, and apologies if it's been asked and answered before, but I couldn't find anything.
Garry
Respuestas (1)
Daniel Shub
el 26 de Nov. de 2011
Presumably the code has something like:
[x,y,button] = ginput
you can just replace this with
x = 1;
y = 2;
button = 1;
where x, y, and button are whatever you want them to be.
Categorías
Más información sobre Data Exploration en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!