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

 Réponse acceptée

Kuifeng
Kuifeng le 9 Avr 2016
doc im2bw

3 commentaires

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

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by