this is what the code is
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
kavya p
il 7 Gen 2015
Commentato: Image Analyst
il 29 Gen 2015
Result which I getting is full black Code is as follows
I =imread('image.bitmap');
G=rgb2gray(I);
Se=ones(5,5);
Out=imdilate(G,Se);
Out1=imerode(Out,Se);
Out2=imsubtract(Out,Out1);
0 Commenti
Risposta accettata
Image Analyst
il 7 Gen 2015
Try using [] in imshow():
Out2 = double(Out) - double(Out1);
imshow(Out2, []);
2 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!