Undefined function or variable 'adaptthresh'
Show older comments
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)
madhan ravi
on 12 Dec 2018
0 votes
2 Comments
Mohamed Mansour
on 12 Dec 2018
Image Analyst
on 12 Dec 2018
You can't. You'll have to write your own if you don't want to upgrade.
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!