Grayscale to RGB Converter

Convert grayscale images to RGB using a specified colormap.
16,1K téléchargements
Mise à jour 11 déc. 2006

Afficher la licence

The function converts grayscale images to RGB using a specified colormap. The default colormap is ``hot''. The graysale image is supplied either as a name or a matrix.

Example:

res = grs2rgb(im,cmap);

res is a size(im)-by-3 RGB image.

Citation pour cette source

Valeriy Korostyshevskiy (2024). Grayscale to RGB Converter (https://www.mathworks.com/matlabcentral/fileexchange/13312-grayscale-to-rgb-converter), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2006b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Colormaps dans Help Center et MATLAB Answers
Remerciements

Inspiré par : Gray image to Color image conversion

A inspiré : rgb2hex and hex2rgb

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0

Added html file