How do I use this function ''function [BW, threshold] = im2bw_ent(IM)''???? I am new in MATLAB, and I dont know what should I do for this code???
조회 수: 2 (최근 30일)
이전 댓글 표시
How do I use this function ''function [BW, threshold] = im2bw_ent(IM)''???? I am new in MATLAB, and I dont know what should I do for this code???
답변 (1개)
Image Analyst
2015년 12월 26일
I imagine you'd call it like this:
IM = imread('moon.tif');
subplot(1,2,1);
imshow(IM);
[BW, threshold] = im2bw_ent(IM);
subplot(1,2,2);
imshow(BW);
message = sprintf('Image thresholded at %.3f', threshold);
uiwait(helpdlg(message));
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!