threshold image code correction
Show older comments


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.?
Accepted Answer
More Answers (0)
Categories
Find more on Display Image in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!