Azzera filtri
Azzera filtri

conversion of pixel values in a gray scale image

1 visualizzazione (ultimi 30 giorni)
I have a gray scale image . I want to convert all the zero pixel values to 255. is there any function to do so?

Risposta accettata

Anand
Anand il 17 Giu 2013
im(im==0) = 255;

Più risposte (0)

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by