Effacer les filtres
Effacer les filtres

conversion of pixel values in a gray scale image

1 vue (au cours des 30 derniers jours)
BV
BV le 17 Juin 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?

Réponse acceptée

Anand
Anand le 17 Juin 2013
im(im==0) = 255;
  1 commentaire
BV
BV le 17 Juin 2013
thank u ) i will try it.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by