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

1 visualización (últimos 30 días)
Ahmad
Ahmad el 10 de Ag. de 2017
Editada: Walter Roberson el 10 de Ag. de 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

Respuestas (2)

KSSV
KSSV el 10 de Ag. de 2017
Editada: KSSV el 10 de Ag. de 2017
Use interp2 if you don't want to use resize .... resize also does the same in fact.
  1 comentario
Walter Roberson
Walter Roberson el 10 de Ag. de 2017
However, think carefully about which interpolation algorithm you wish to use.

Iniciar sesión para comentar.


Walter Roberson
Walter Roberson el 10 de Ag. de 2017
Editada: Walter Roberson el 10 de Ag. de 2017
Besides interp2, you can also use fft() to resample.
There is also imcrop()

Categorías

Más información sobre Read, Write, and Modify Image en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by