Clear Filters
Clear Filters

How to make the size of two images equal?

1 view (last 30 days)
Darsana P M
Darsana P M on 15 Nov 2016
Answered: Walter Roberson on 15 Nov 2016
I have two images. The size of first image is {720 1277}. The size of second image is {525 700}. How can i make them equal to perform addition operation?

Answers (2)

KSSV
KSSV on 15 Nov 2016
You can do interpolation and change the size of image you want. doc interp2.

Walter Roberson
Walter Roberson on 15 Nov 2016
imresize() to a common size.

Community Treasure Hunt

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

Start Hunting!