Grayscale to RGB Converter
Version 1.0.0.0 (257 KB) by
Valeriy Korostyshevskiy
Convert grayscale images to RGB using a specified colormap.
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.
Cite As
Valeriy Korostyshevskiy (2026). Grayscale to RGB Converter (https://uk.mathworks.com/matlabcentral/fileexchange/13312-grayscale-to-rgb-converter), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2006b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Color and Styling in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Added html file |
