Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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 vue (au cours des 30 derniers jours)
Gautham
Gautham le 22 Oct 2012
Clôturé : MATLAB Answer Bot le 20 Août 2021
its ok even if i get a algorithm or concept..

Réponses (1)

venkat vasu
venkat vasu le 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)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by