this gives an error with imsubstract because the images are not of the same size.
Matlab imshow
1 次查看(过去 30 天)
显示 更早的评论
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);
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!