How to increase or decrese graythresh value?

1 vue (au cours des 30 derniers jours)
Kim
Kim le 20 Jan 2012
rgb=imread('image1.jpg');
Igray=rgb2gray(rgb);
Ibw = im2bw(Igray,graythresh(Igray));
imshow(Igray);

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Just for fun dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by