MATLAB Answers

how to to divide two images with different size ?

5 ビュー (過去 30 日間)
ghada sandoub
ghada sandoub 2019 年 2 月 20 日
コメント済み: ghada sandoub 2019 年 2 月 20 日
i have two images, the first one size is 625x948x3 and the second one size is 633x948x3 .. how can i make the two images with the same size to make division correctly??

  0 件のコメント

Sign in to comment.

採用された回答

KSSV
KSSV 2019 年 2 月 20 日
Read about imresize

  1 件のコメント

ghada sandoub
ghada sandoub 2019 年 2 月 20 日
thanks alot but i already read about imresize but still don't understand how to resize it or which command format is more suitable to my case.

Sign in to comment.

その他の回答 (1 件)

Image Analyst
Image Analyst 2019 年 2 月 20 日
How about imresize():
image2 = imresize(image2, [size(image1, 1), size(image1, 2)]); % Make rows and columns of image2 the same as image 1.

  1 件のコメント

ghada sandoub
ghada sandoub 2019 年 2 月 20 日
thanks alot

Sign in to comment.


Translated by