I am trying to compute the background markers of an image and in that process I am first binarizing the image by thresholding.For that I am using "imbinarize" and it is not working.I have given the description below.
조회 수: 2 (최근 30일)
이전 댓글 표시
Given is the code below.Also Iobrcbr is of type 512*512 uint8 and the code gives the following error-"Undefined function 'imbinarize' for input arguments of type 'uint8'."
%%Computing Background Markers
bw=imbinarize(Iobrcbr);
figure
imshow(bw), title('Thresholded opening-closing by reconstruction (bw)')
댓글 수: 0
채택된 답변
Massimo Zanetti
2016년 10월 5일
In Matlab there is no "imbinarize" function. If you have such funciton, copy it into the folder where you are running your script.
댓글 수: 0
추가 답변 (2개)
Prachi Sharma
2016년 10월 5일
편집: Prachi Sharma
2016년 10월 5일
댓글 수: 2
Massimo Zanetti
2016년 10월 6일
Which version do you have? Type "ver" on your command line to get it. However watershed is supported also in earlier versions of Matlab (for example 2014).
참고 항목
카테고리
Help Center 및 File Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!