Filter löschen
Filter löschen

conversion of pixel values in a gray scale image

1 Ansicht (letzte 30 Tage)
BV
BV am 17 Jun. 2013
I have a gray scale image . I want to convert all the zero pixel values to 255. is there any function to do so?

Akzeptierte Antwort

Anand
Anand am 17 Jun. 2013
im(im==0) = 255;

Weitere Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by