Matlab imshow

2 次查看(过去 30 天)
Thomas
Thomas 2011-5-18
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);

采纳的回答

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

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by