How to Reduce image size and increase size
2 views (last 30 days)
Show older comments
i would like to know how can i reduce the image size snd enlarge?
in the
- nearest neighbor
- bilinear
- bicubic
can i get a sample code?
Thank you so much
0 Comments
Answers (1)
Matt J
on 27 Jan 2022
3 Comments
Image Analyst
on 27 Jan 2022
@mayy noensai in the lines of code below, it should be very evident which is which:
outputImage = imresize(inputImage, [rows, columns], 'bilinear');
outputImage = imresize(inputImage, [rows, columns], 'bicubic');
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!