Grayscale to RGB Converter

Convert grayscale images to RGB using a specified colormap.
16,1K Downloads
Aktualisiert 11. Dez 2006

Lizenz anzeigen

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.

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R2006b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Colormaps finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert von: Gray image to Color image conversion

Inspiriert: rgb2hex and hex2rgb

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0

Added html file