com.jhlabs.image
Class SpectrumColormap
java.lang.Object
com.jhlabs.image.SpectrumColormap
- Colormap
public class SpectrumColormap
extends java.lang.Object
A colormap with the colors of the spectrum.
int | getColor(float v) - Convert a value in the range 0..1 to an RGB color.
|
SpectrumColormap
public SpectrumColormap()
Construct a spcetrum color map.
getColor
public int getColor(float v)
Convert a value in the range 0..1 to an RGB color.
- getColor in interface Colormap
v
- a value in the range 0..1