NDVI colormap - red-yellow-green palette, 256 colors

MATLAB script to create NDVI colormap, display palette, load/display sample grayscale image and use lookup to convert to RGB

178 Downloads

Updated 28 Oct 2019

View License

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 (2023). 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
Created with R2019b
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!
Version Published Release Notes
1.0.0