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

1 Ansicht (letzte 30 Tage)
Ahmad
Ahmad am 10 Aug. 2017
Bearbeitet: Walter Roberson am 10 Aug. 2017
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

Antworten (2)

KSSV
KSSV am 10 Aug. 2017
Bearbeitet: KSSV am 10 Aug. 2017
Use interp2 if you don't want to use resize .... resize also does the same in fact.
  1 Kommentar
Walter Roberson
Walter Roberson am 10 Aug. 2017
However, think carefully about which interpolation algorithm you wish to use.

Melden Sie sich an, um zu kommentieren.


Walter Roberson
Walter Roberson am 10 Aug. 2017
Bearbeitet: Walter Roberson am 10 Aug. 2017
Besides interp2, you can also use fft() to resample.
There is also imcrop()

Kategorien

Mehr zu Read, Write, and Modify Image finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by