how to re-find the landmark locations after imcrop !!
3 views (last 30 days)
Show older comments
In my gray scale image, I have a set of landmark points that i know their positions(xi,yi). I calculate my rectangular region then i use imcrop to extract the ROI from the original image then I use imresize to [120*120]. The problem is that I need again the locations of my Landmark for further treatment.After these transformation(imcrop-imresize) I can not understand how to find their new coordinatess!!? Any Help Please......
1 Comment
Answers (2)
Image Analyst
on 12 Feb 2016
First subtract the leftX and topY from the x and y values you have, then multiply them by the scaling factors you used in the resize.
2 Comments
Image Analyst
on 12 Feb 2016
Sorry - I can't read it. Read this: http://www.mathworks.com/matlabcentral/answers/13205-tutorial-how-to-format-your-question-with-markup
Omokhadija
on 12 Feb 2016
See Also
Categories
Find more on Feature Detection and Extraction in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!