Matrix dimensions must agree.error in t=r.*e;
Ältere Kommentare anzeigen
%Binarisation
e=im2bw(z);
figure,imshow(e);
title('binarized image');
r=im2bw(w);
t=r.*e;
figure,imshow(t);
k=bwmorph(~t,'thin','int');
figure,imshow(k);
title('morphological processed image');
2 Kommentare
Praveen kumar
am 11 Mär. 2016
Walter Roberson
am 11 Mär. 2016
Your z and w are currently different sizes. As you appear to be using images, you should imresize() the larger image to match the size of the smaller image.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Image Category Classification finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!