I have 2 images i need to show an arrow mark from one image to another image
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have 2 images i need to show an arrow mark from one image to another image
Images are loaded after i click on push button.Then my arrow should be displayed pointing from one image to another
Imp Note:there is only one edit box,browse and pushbutton only in the panel
How can i do it.
Thanking in advance
0 comentarios
Respuestas (1)
Image Analyst
el 6 de Mayo de 2012
Use the annotation command. I think it will work if you use it on the figure, and not on a particular image axes that your images live in. This is because I think if you use it within a particular axes, I think the arrow will be clipped when it would extend beyond that axes. The tricky part is that you have to figure out what figure coordinate corresponds to a particular location inside the axes. Like row 30, column 42 in your image corresponds to coordinate (543, 753) of your figure. But I think you need to do this if you want to have your arrow go from a pixel in one image, across blank space in the figure, to some pixel in the other image.
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!