How do you shrink multiple images without using imresize or imcrop?
3 views (last 30 days)
Show older comments
I have to shrink 20 images to 129 x 120 without cutting off any of the image and without using imresize or imcrop.
0 Comments
Answers (1)
Image Analyst
on 19 Nov 2018
You could use interp2() or else just write your own code to do the same things as the functions you (for some reason) don't want to use.
2 Comments
Image Analyst
on 20 Nov 2018
You could first figure out what coordinates in the input image the value should come from. Chances are it will land between 4 input pixels. So you can use bilinear interpolation.
See Also
Categories
Find more on Read, Write, and Modify Image in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!