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

답변 (1개)

madhan ravi
madhan ravi 2018년 12월 12일

0 개 추천

댓글 수: 2

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

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Convert Image Type에 대해 자세히 알아보기

제품

릴리스

R2015a

질문:

2018년 12월 12일

댓글:

2018년 12월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by