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

Réponses (1)

madhan ravi
madhan ravi le 12 Déc 2018

0 votes

2 commentaires

Mohamed Mansour
Mohamed Mansour le 12 Déc 2018
how i can use it in 2015a ??
Image Analyst
Image Analyst le 12 Déc 2018
You can't. You'll have to write your own if you don't want to upgrade.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Convert Image Type dans Centre d'aide et File Exchange

Produits

Version

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by