How to make two images with same dimensions to be same size in matlab -


i have 2 images same dimensions different sizes. want bigger image's size changed match smaller image's size. example, have image size 300x400x3 , image b size 600x800x3. want change size of image b 300x400x3. help.

just one-liner suggested andrey -

b = imresize( b,[size(a,1) size(a,2)]); 

for accessing more options resizing, use resource.


Comments