How to fix graythresh error?

1 次查看(过去 30 天)
Hello,
I have a simple problem with matlab.
when I run below code , it return error.
whats the problem?
I=imread('coins.png');
level=graythresh(I);
how can I fix it?

采纳的回答

Image Analyst
Image Analyst 2021-9-27
The code you gave runs fine:
I=imread('coins.png');
level=graythresh(I)
level = 0.4941

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by