How to fix graythresh error?

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?

 Respuesta aceptada

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

Más respuestas (0)

Etiquetas

Preguntada:

el 26 de Sept. de 2021

Respondida:

el 27 de Sept. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by