error in converting image to binary

1 visualización (últimos 30 días)
FIR
FIR el 1 de Mzo. de 2012
I have a rgb image inwhich the image consists of two persons,i want to make the background black and persons in white colour,i tried im2bw but i get only whit backgroubf,no image duisplayed ,please help

Respuestas (2)

Pugazhendhi
Pugazhendhi el 1 de Mzo. de 2012
First convert to grayscale(rgb2gray) then use im2bw
  1 comentario
FIR
FIR el 1 de Mzo. de 2012
I tried but getting same result

Iniciar sesión para comentar.


Walter Roberson
Walter Roberson el 1 de Mzo. de 2012
See graythresh()

Categorías

Más información sobre Import, Export, and Conversion en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by