how to resize for images

2 次查看(过去 30 天)
yvonne lee
yvonne lee 2016-1-17
hi i would like to resize my image. current image size is 416x460x3, would like to resize it to 480x640x3. thanks
  1 个评论
Image Analyst
Image Analyst 2016-1-17
Do you want to vertically stretch the image with imresize() or pad it with zeros with padarray()?

请先登录,再进行评论。

回答(1 个)

harjeet singh
harjeet singh 2016-1-17
use this command
img=imresize(I,[480 640]);

类别

Help CenterFile Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by