Colormap Test Image

version 1.0 (44.3 KB) by Steve Eddins
Test image for evaluating perceptual effectiveness of a colormap for visualizing sequential data

120 Downloads

Updated 20 Jul 2017

View License

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 (2022). Colormap Test Image (https://www.mathworks.com/matlabcentral/fileexchange/63726-colormap-test-image), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!