Thresholding value getting out of limit
1 view (last 30 days)
Show older comments
Hey guys I am new to image processing and I want to convert my image to binary using some threshold value which consists of image mean and standard deviation. Now problem is this threshold value gets more than 255 (I am using Grey scale image) so there is nothing remain in image for binary conversion only black image comes so can anybody help how to do it.I am writing my code below::
%%%%%%%code starts %%%%%%%
(1)I=imread('testimage')
(2)mean_image=mean2(I)
(3)std_image=std2(I).....
%%%%%%%%%%%%%%%code ends :::::
now i count thresholding
value which goes more than 255 so any idea what to do?
thanks in advance
0 Comments
Answers (1)
Image Analyst
on 8 Mar 2013
Please explain why you'd even WANT a threshold that is more than 255. It just doesn't make sense for an image that has values only in the 0-255 range.
8 Comments
Image Analyst
on 8 Mar 2013
You don't really expect to find an object in all that binary noise do you? I see no object whatsoever.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!