how to resize for images

5 ビュー (過去 30 日間)
yvonne lee
yvonne lee 2016 年 1 月 17 日
コメント済み: Image Analyst 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]);

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by