Bichromatic colormap for real2rgb
Version 1.0.0.0 (1.66 KB) by
Jurgen
Takes 2 RGB colors and returns a map or truecolor image. Same options as the colormaps from real2rgb
Takes 2 RGB colors and returns a map or truecolor image. Same options as the colormaps from real2rgb
Based on real2rgb and the associated private functions. See Oliver Woodford's submission.
Instead of making a map for every unique combination of 2 colors I made 1 function that takes 2 colors as input.
E.g. map = bichromatic(cols);
See comment section in code for specifics
Cite As
Jurgen (2026). Bichromatic colormap for real2rgb (https://uk.mathworks.com/matlabcentral/fileexchange/39825-bichromatic-colormap-for-real2rgb), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Display and Exploration > Basic Display >
Find more on Basic Display in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: real2rgb & colormaps
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
