changing the colour gray
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have a binary image with black background and a white object in circle ,now i want to change the colour of white to gray plz help
4 comentarios
Jan
el 18 de Mzo. de 2013
@kash: Please post the class of the input, because "binary image" is not an exact definition.
Respuesta aceptada
Image Analyst
el 19 de Mzo. de 2013
grayValue = uint8(128); % or whatever you want in the range of 1-255
grayScaleImage = grayValue * uint8(binaryImage);
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Convert Image Type en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!