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..

its ok even if i get a algorithm or concept..

回答 (1 件)

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)

この質問は閉じられています。

質問済み:

2012 年 10 月 22 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by