Azzera filtri
Azzera filtri

I have 2 images i need to show an arrow mark from one image to another image

1 visualizzazione (ultimi 30 giorni)
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

Risposte (1)

Image Analyst
Image Analyst il 6 Mag 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.

Categorie

Scopri di più su Graphics Object Programming in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by