How to Reduce image size and increase size
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Matt J
2022-1-27
3 个评论
Image Analyst
2022-1-27
@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');
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!