How can I solve this error ?

Here,I attached the code in the following files
otsu.m and main1.m
Undefined function 'imbinarize' for input arguments of type 'uint8'.
Error in ostu (line 43)
ostu_img = imbinarize(uint8(B),lev);
Error in main1 (line 54)
ostu_img = ostu(B);

Respuestas (1)

Matt J
Matt J el 30 de Jun. de 2019

0 votos

Sounds like you do not have the Image Processing Toolbox.

Productos

Versión

R2014a

Preguntada:

el 30 de Jun. de 2019

Respondida:

el 30 de Jun. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by