Bichromatic colormap for 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 (2024). Bichromatic colormap for real2rgb (https://www.mathworks.com/matlabcentral/fileexchange/39825-bichromatic-colormap-for-real2rgb), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Display and Exploration > Basic Display >
Tags
Acknowledgements
Inspired by: real2rgb & colormaps
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |