real2rgb & colormaps
Converts intensity matrices into truecolor images.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Oliver Woodford (2026). real2rgb & colormaps (https://nl.mathworks.com/matlabcentral/fileexchange/23342-real2rgb-colormaps), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: SC - powerful image rendering, COLORMAP and COLORBAR utilities (Jul 2014), Bipolar Colormap, mat2im, AdvancedColormap, demViewer
General Information
- Version 1.9.0 (22.7 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.9.0 | Updated description as this function is to be maintained in the sc package only. |
||
| 1.8.0 | Fix bug when converting matrices containing Inf or -Inf without specifying limits. Thanks to Ming Wu for reporting it. |
||
| 1.7.0 | Fixed bug reported by Peter Nave (thanks!) whereby colormaps of 1024x3 are returned (too big for Windows colorbars). |
||
| 1.5.0 | Added cold and dusk colormaps |
||
| 1.4.0 | Bug fix |
||
| 1.3.0 | A few bug fixes and efficiency improvements. Also, colormap functions return concise table when input == Inf rather than < 0. |
||
| 1.2.0 | Now faster when using non-linear colormaps, thanks to a suggestion by Steve Lord to use histc. |
||
| 1.1.0 | Two important bug fixes, increased colormap size used to 1024 (from 256), and added pink (standard) and bright (new) colormaps. |
||
| 1.0.0 |