How can I increase the color of certain pixel value in an intensity image?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have an intensity image and want to color the pixels which their intensity is above 120. In fact I want to replace pixels who's value is above 120 and i want to increase the color of same image red,green,blue by 10,only for above intensity 120 . How can I do this?
2 comentarios
Respuestas (1)
Walter Roberson
el 4 de En. de 2017
mask = YourImage > 120;
newImage = YourImage;
newImage(mask) = newImage(mask) + 10;
Ver también
Categorías
Más información sobre Image Filtering and Enhancement en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!