how to resize for images

2 visualizaciones (últimos 30 días)
yvonne lee
yvonne lee el 17 de En. de 2016
Comentada: Image Analyst el 17 de En. de 2016
hi i would like to resize my image. current image size is 416x460x3, would like to resize it to 480x640x3. thanks
  1 comentario
Image Analyst
Image Analyst el 17 de En. de 2016
Do you want to vertically stretch the image with imresize() or pad it with zeros with padarray()?

Iniciar sesión para comentar.

Respuestas (1)

harjeet singh
harjeet singh el 17 de En. de 2016
use this command
img=imresize(I,[480 640]);

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