spyrit.misc.color

Created on Mon Dec 2 20:53:59 2024

@author: ducros

Functions

colorize(im, color[, clip_percentile])

Helper function to create an RGB image from a single-channel image using a specific color.

spectral_colorization(M_gray, wav[, axis])

Colorize the last dimension of an array

wavelength_to_rgb(wavelength[, gamma])

Converts wavelength to RGB.

wavelength_to_rgb_mat(wav_range[, gamma])