how to resize for images

1 view (last 30 days)
yvonne lee
yvonne lee on 17 Jan 2016
Commented: Image Analyst on 17 Jan 2016
hi i would like to resize my image. current image size is 416x460x3, would like to resize it to 480x640x3. thanks
  1 Comment
Image Analyst
Image Analyst on 17 Jan 2016
Do you want to vertically stretch the image with imresize() or pad it with zeros with padarray()?

Sign in to comment.

Answers (1)

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

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!