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

Answers (1)

Matt J
Matt J on 30 Jun 2019
Sounds like you do not have the Image Processing Toolbox.

Products

Release

R2014a

Asked:

on 30 Jun 2019

Answered:

on 30 Jun 2019

Community Treasure Hunt

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

Start Hunting!