How to increase or decrese graythresh value?

rgb=imread('image1.jpg');
Igray=rgb2gray(rgb);
Ibw = im2bw(Igray,graythresh(Igray));
imshow(Igray);

 採用された回答

Sukuchha
Sukuchha 2012 年 1 月 20 日

1 投票

store graythresh(Igray) in a variable and increase/ descrease as u want!

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

質問済み:

Kim
2012 年 1 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by