Converting specific pixel of the image to white

11 visualizaciones (últimos 30 días)
Noor Afridi
Noor Afridi el 28 de Sept. de 2020
Respondida: Walter Roberson el 8 de Dic. de 2020
Hello Sir,
I have an image. I want to convert speicfic pixel of (range from 172 to 226 pixel ) to white. ?

Respuestas (1)

Walter Roberson
Walter Roberson el 8 de Dic. de 2020
mask = 172 <= YourImage & YourImage <= 226;
YourImage(mask) = 255;

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by