how to resize the image in matlab? not using resize function.

2 views (last 30 days)
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

Answers (2)

KSSV
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.

Walter Roberson
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()

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!