How will I convert a image into binary image?

How will I convert a image into binary image?
I = imread('D:\25.jpg');
>> BW = imbinarize(I)
??? Undefined function or method 'imbinarize' for input arguments of type 'uint8'.

 채택된 답변

Kuifeng
Kuifeng 2016년 4월 9일

0 개 추천

doc im2bw

댓글 수: 3

please give the full code
I = imread('D:\25.jpg');
BW = im2bw(I, 0.4);
whta is the 0.4

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

추가 답변 (0개)

태그

질문:

2016년 4월 9일

댓글:

2023년 3월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by