NDVI colormap - red-yellow-green palette, 256 colors
contents of NDVI_colormap.zip
H.J. Sommer III, 19.10.28
make_ndvi_colormap.m
MATLAB script
create NDVI colormap with 256 colors
display palette
load/display grayscale image using NDVI colorbar
convert grayscale image to RGB and save
NDVI_pallette.jpg
image of NDVI palette
sample_input_image.tif
sample grayscale image, 920x1240, class uint8, values 0 to 255
sample_output_image.jpg
sample output image using lookup to convert grayscale to RGB
Cite As
H.J. Sommer (2025). NDVI colormap - red-yellow-green palette, 256 colors (https://www.mathworks.com/matlabcentral/fileexchange/73140-ndvi-colormap-red-yellow-green-palette-256-colors), 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.0 |