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

Risposte (1)

madhan ravi
madhan ravi il 12 Dic 2018

2 Commenti

how i can use it in 2015a ??
You can't. You'll have to write your own if you don't want to upgrade.

Accedi per commentare.

Categorie

Scopri di più su Convert Image Type in Centro assistenza e File Exchange

Prodotti

Release

R2015a

Richiesto:

il 12 Dic 2018

Commentato:

il 12 Dic 2018

Community Treasure Hunt

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

Start Hunting!

Translated by