imbinarize...Undefined function
Afficher commentaires plus anciens
By using MATLAB R2013a.
I am the beginners and forgive me if question is not narrated in well. The Matlab shows " Undefined function 'imbinarize' for input arguments of type 'uint8'" for the following [ imbinarize(I)]
I= imread('cameraman.tif');
>> imshow (I)
>> imbinarize(I)
Undefined function 'imbinarize' for input arguments of type 'uint8'.
Thanks for support
2 commentaires
Hassan El-Zahar
le 12 Mai 2017
this function is defined from 2016 versions and above !
Prasanth
le 10 Oct 2017
Modifié(e) : Walter Roberson
le 10 Oct 2017
% Convert to BW
threshold = graythresh(I);
BW=im2bw(I,threshold);
Réponse acceptée
Plus de réponses (1)
Image Analyst
le 6 Nov 2016
3 votes
You must have an old release. imbinarize was introduced in R2016a. You can try graythresh() or imquantize().
Or, for an interactive GUI to let you visually set the threshold, see the thresholding app in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
Catégories
En savoir plus sur Image Thresholding dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!