how to resize the image in matlab? not using resize function.
1 view (last 30 days)
Show older comments
For example my matlab output image is (476 by 476) pixels and I want to resize it (512 by 512) pixels exactly. If anyone have an idea please share. Thanks
0 Comments
Answers (2)
KSSV
on 10 Aug 2017
Edited: KSSV
on 10 Aug 2017
Use interp2 if you don't want to use resize .... resize also does the same in fact.
1 Comment
Walter Roberson
on 10 Aug 2017
However, think carefully about which interpolation algorithm you wish to use.
Walter Roberson
on 10 Aug 2017
Edited: Walter Roberson
on 10 Aug 2017
Besides interp2, you can also use fft() to resample.
There is also imcrop()
0 Comments
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!