Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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 visualizzazione (ultimi 30 giorni)
its ok even if i get a algorithm or concept..

Risposte (1)

venkat vasu
venkat vasu il 22 Ott 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)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by