MATLAB: Matlab imshow

image analysisimage processingImage Processing Toolbox

What is wrong with this code?
im = imread('C:\Documents and Settings\Tom\battlestargalactica.jpg'); imshow(im);
im2 = imresize(im, 0.95); imshow(im2);
im = imsubtract(im, im2); imshow(im); imwrite(im,test,jpg);

Best Answer

this gives an error with imsubstract because the images are not of the same size.
Related Question