How to increase or decrese graythresh value?
Show older comments
rgb=imread('image1.jpg');
Igray=rgb2gray(rgb);
Ibw = im2bw(Igray,graythresh(Igray));
imshow(Igray);
Accepted Answer
More Answers (0)
Categories
Find more on Image Type Conversion 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!