All Packages Class Hierarchy This Package Previous Next Index
Class com.jhlabs.image.SpectrumColormap
java.lang.Object
|
+----com.jhlabs.image.SpectrumColormap
- public class SpectrumColormap
- extends java.lang.Object
- implements com.jhlabs.image.Colormap, java.io.Serializable
A colormap with the colors of the spectrum.
-
SpectrumColormap()
- Construct a spcetrum color map
-
getColor(double)
- Convert a value in the range 0..1 to an RGB color.
SpectrumColormap
public SpectrumColormap()
- Construct a spcetrum color map
getColor
public 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