how to to divide two images with different size ?

1 view (last 30 days)
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??

Accepted Answer

KSSV
KSSV on 20 Feb 2019
Read about imresize
  1 Comment
ghada sandoub
ghada sandoub on 20 Feb 2019
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.

More Answers (1)

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

Products

Community Treasure Hunt

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

Start Hunting!