imbinarize...Undefined function
이전 댓글 표시
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
Hassan El-Zahar
2017년 5월 12일
this function is defined from 2016 versions and above !
Prasanth
2017년 10월 10일
편집: Walter Roberson
2017년 10월 10일
% Convert to BW
threshold = graythresh(I);
BW=im2bw(I,threshold);
채택된 답변
추가 답변 (1개)
Image Analyst
2016년 11월 6일
3 개 추천
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
카테고리
도움말 센터 및 File Exchange에서 Image Thresholding에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!