Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Jagadeesh p
Jagadeesh p le 6 Mai 2012
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

Réponses (1)

Image Analyst
Image Analyst le 6 Mai 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.

Catégories

En savoir plus sur Graphics Object Programming dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by