Info

此问题已关闭。 请重新打开它进行编辑或回答。

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 次查看(过去 30 天)
its ok even if i get a algorithm or concept..

回答(1 个)

venkat vasu
venkat vasu 2012-10-22
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)

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by