threshold image code correction
Afficher commentaires plus anciens


fact=0.1;
I=imread('8.jpg');
i=im2bw(I);
imax=max(max(i));
imin=min(min(i));
L=fact*(imax-imin)+imin;
thre=max(i,L.*ones(size(i)));
colormap(gray);
imagesc(i)
imagesc(thre)
I have to do thresholding of these sphere.. From this written code i get this secong figure.. it can't be done correctly even by changing factor.. So, help me.?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Display Image dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!