Matlab imshow

1 Ansicht (letzte 30 Tage)
Thomas
Thomas am 18 Mai 2011
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);

Akzeptierte Antwort

Ivan van der Kroon
Ivan van der Kroon am 18 Mai 2011
this gives an error with imsubstract because the images are not of the same size.

Weitere Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by