All Packages Class Hierarchy This Package Previous Next Index
Interface com.jhlabs.image.Colormap
- public abstract 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.
-
getColor(double)
- Convert a value in the range 0..1 to an RGB color.
getColor
public abstract int getColor(double v)
- Convert a value in the range 0..1 to an RGB color.
- Parameters:
- v - a value in the range 0..1
- Returns:
- an RGB color
All Packages Class Hierarchy This Package Previous Next Index