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

1 vue (au cours des 30 derniers jours)
Ahmad
Ahmad le 10 Août 2017
Modifié(e) : Walter Roberson le 10 Août 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

Réponses (2)

KSSV
KSSV le 10 Août 2017
Modifié(e) : KSSV le 10 Août 2017
Use interp2 if you don't want to use resize .... resize also does the same in fact.
  1 commentaire
Walter Roberson
Walter Roberson le 10 Août 2017
However, think carefully about which interpolation algorithm you wish to use.

Connectez-vous pour commenter.


Walter Roberson
Walter Roberson le 10 Août 2017
Modifié(e) : Walter Roberson le 10 Août 2017
Besides interp2, you can also use fft() to resample.
There is also imcrop()

Catégories

En savoir plus sur Read, Write, and Modify Image dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by