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 Exchange에서 Deep 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