How to use function 'ind2gray'
Afficher commentaires plus anciens
I'm trying to convert uint8 image to grayscale image using the following command
a = imread('image.png'); % a dimension 18*24*3
b = ind2gray(a, map);
But I'm getting an error message saying
Undefined function or variable 'map'
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Lighting, Transparency, and Shading dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!