Can we change color of the some particular pixel in binary image?

1 visualización (últimos 30 días)
bamini thavarajah
bamini thavarajah el 5 de Dic. de 2017
Respondida: Image Analyst el 5 de Dic. de 2017
I have binary image. I want to set red color to 100 white pixel only. Is it possible?
  4 comentarios
bamini thavarajah
bamini thavarajah el 5 de Dic. de 2017
I want to select 100 white pixel from binary image. Then I want to give red color for that 100 white pixel only.
bamini thavarajah
bamini thavarajah el 5 de Dic. de 2017
I'd not have to create a new integer or double image to have a value of 100. I have to select random pixel with that original image coordinate. When l use find function that give indices out of size of image.

Iniciar sesión para comentar.

Respuestas (1)

Image Analyst
Image Analyst el 5 de Dic. de 2017
This is a duplicate of https://www.mathworks.com/matlabcentral/answers/370483-how-to-change-the-color-of-pixels-in-a-binary-image#comment_512650. A suitable answer was given there so you should not start a duplicate question when you already have a workable answer there.

Categorías

Más información sobre Red 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