Colormap Test Image
The function colormapTestImage creates a grayscale image matrix that is useful for evaluating the effectiveness of colormaps for visualizing sequential data. The image has two sections. One is a linear ramp with a superimposed small-amplitude sinusoid. This section makes it easy to visually inspect a colormap for perceptual nonuniformities. The other section is a full-range linear ramp. The function can also display a colormap visualization.
The test image is inspired by and adapted from the test image proposed in Peter Kovesi, "Good Colour Maps: How to Design Them," CoRR, 2015. https://arxiv.org/abs/1509.03700
Cite As
Steve Eddins (2024). Colormap Test Image (https://www.mathworks.com/matlabcentral/fileexchange/63726-colormap-test-image), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
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 |
|