Package com.jhlabs.image
Class SpectrumColormap
- java.lang.Object
-
- com.jhlabs.image.SpectrumColormap
-
- All Implemented Interfaces:
Colormap
,java.io.Serializable
public class SpectrumColormap extends java.lang.Object implements Colormap, java.io.Serializable
A colormap with the colors of the spectrum.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SpectrumColormap()
Construct a spcetrum color map
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColor(float v)
Convert a value in the range 0..1 to an RGB color.
-