Grayscale to RGB Converter

Convert grayscale images to RGB using a specified colormap.
16,1K download
Aggiornato 11 dic 2006

Visualizza la licenza

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.

Cita come

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

Compatibilità della release di MATLAB
Creato con R2006b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Colormaps in Help Center e MATLAB Answers
Riconoscimenti

Ispirato da: Gray image to Color image conversion

Ispirato: rgb2hex and hex2rgb

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0

Added html file