Is it possible to see the underlying implementation of built in functions of matlab?
- by user198729
I'm using this example code to grayscale an image,but the result is not right:
I = imread('coins.png');
level = graythresh(I);
BW = im2bw(I,level);
imshow(BW)
Where to see how graythresh is actually implemented?
BTW,is there a reason for using matlab feels so alike with python?
Or is it known that graythresh doesn't work well for images with little spatial resolution(like 62*21 ones)?