Filter löschen
Filter löschen

How to fix graythresh error?

1 Ansicht (letzte 30 Tage)
majid
majid am 26 Sep. 2021
Beantwortet: Image Analyst am 27 Sep. 2021
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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by