how to re-find the landmark locations after imcrop !!
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Image Analyst
2016-2-12
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 个评论
Image Analyst
2016-2-12
Sorry - I can't read it. Read this: http://www.mathworks.com/matlabcentral/answers/13205-tutorial-how-to-format-your-question-with-markup
Omokhadija
2016-2-12
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Feature Detection and Extraction 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!