How to increase or decrese graythresh value?

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

 Akzeptierte Antwort

Sukuchha
Sukuchha am 20 Jan. 2012

1 Stimme

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

Weitere Antworten (0)

Gefragt:

Kim
am 20 Jan. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by