Info
This question is closed. Reopen it to edit or answer.
I have a binary image wit noise. i found the thresholding value is 96 by randomly applying it to the image. can any one help me provide code for calculating the threshold value equal to 96, its ok if any help me to with the method of calculating it..
1 view (last 30 days)
Show older comments
its ok even if i get a algorithm or concept..
0 Comments
Answers (1)
venkat vasu
on 22 Oct 2012
Hi...
You can get in command window itself to type a help graythresh or see the code below
I = imread('coins.png');
level = graythresh(I);
BW = im2bw(I,level);
figure, imshow(BW)
0 Comments
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!