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

 Respuesta aceptada

Kuifeng
Kuifeng el 9 de Abr. de 2016
doc im2bw

3 comentarios

abhishek  nandi
abhishek nandi el 9 de Abr. de 2016
please give the full code
I = imread('D:\25.jpg');
BW = im2bw(I, 0.4);
whta is the 0.4

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Preguntada:

el 9 de Abr. de 2016

Comentada:

el 1 de Mzo. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by