How to increase or decrese graythresh value?

1 view (last 30 days)
rgb=imread('image1.jpg');
Igray=rgb2gray(rgb);
Ibw = im2bw(Igray,graythresh(Igray));
imshow(Igray);

Accepted Answer

Sukuchha
Sukuchha on 20 Jan 2012
store graythresh(Igray) in a variable and increase/ descrease as u want!

More Answers (0)

Categories

Find more on Just for fun in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!