Undefined function or variable 'adaptthresh'

Inputimage=imread('im.jpg');
%% Convert to gray scale
Inputimage=rgb2gray(Inputimage);
% Convert to binary image
T = adaptthresh(Inputimage, 0.4);
BW = imbinarize(Inputimage,T);
figure(2)
imshow(Inputimage);

Answers (1)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Products

Release

R2015a

Asked:

on 12 Dec 2018

Commented:

on 12 Dec 2018

Community Treasure Hunt

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

Start Hunting!