Change Pixel intensity value
Mostrar comentarios más antiguos
Hi all,
I have an image(gray scale) whose pixel intensity values ranges from -0.5373 to 0.4744. I would like to change the intensity value which is lesser than 0 to 0. Can any one help me to solve this.
Thanks.
Respuesta aceptada
Más respuestas (2)
Walter Roberson
el 21 de Feb. de 2012
X = max(0, X); %another way of changing anything less than 0 to 0
1 comentario
Pugazhendhi
el 22 de Feb. de 2012
vishnu lohith
el 16 de Feb. de 2018
0 votos
use a suitable transformation to change the intensities from ( 0,255) to (65,180).
1 comentario
Image Analyst
el 17 de Feb. de 2018
Are you sure you posted to the correct six year old question? Not sure what your answer has to do with the original question about clamping the signal to zero.
Categorías
Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!