Relocating pixels after resizing the image
3 views (last 30 days)
Show older comments
I am marking some pixels in a low-res version of an image, which is smaller than the original image. Now I want to extract info from the original image using those markers. But no idea how to locate those marker/pixels in the bigger image. Help!
0 Comments
Answers (1)
Image Analyst
on 12 Sep 2016
What is the "low res version"? Is it simply a small version of your huge image but just being displayed in a small axes on your figure? And how are you "marking some pixels"? If you're using ginput(), then the same (x,y) will work on your full sized image - there is nothing you need to do other than rounding x,y to the nearest integers so that you have integer rows and columns.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!