com.jhlabs.image
Interface Colormap
- ArrayColormap, Gradient, GrayscaleColormap, LinearColormap, SpectrumColormap, SplineColormap
public interface Colormap
An interface for color maps. These are passed to filters which convert gray values to
colors. This is similar to the ColorModel class but works with floating point values.
int | getColor(float v) - Convert a value in the range 0..1 to an RGB color.
|
getColor
public int getColor(float v)
Convert a value in the range 0..1 to an RGB color.
v
- a value in the range 0..1