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'.

 Akzeptierte Antwort

Kuifeng
Kuifeng am 9 Apr. 2016

0 Stimmen

doc im2bw

3 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by