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);
回答(1 个)
madhan ravi
2018-12-12
0 个投票
2 个评论
Mohamed Mansour
2018-12-12
Image Analyst
2018-12-12
You can't. You'll have to write your own if you don't want to upgrade.
类别
在 帮助中心 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!