I have 2 images i need to show an arrow mark from one image to another image
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Image Analyst
2012-5-6
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!