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);

Risposte (1)

Matt J
Matt J il 30 Giu 2019

0 voti

Sounds like you do not have the Image Processing Toolbox.

Prodotti

Release

R2014a

Risposto:

il 30 Giu 2019

Community Treasure Hunt

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

Start Hunting!

Translated by