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.


Constructor Index

 o SpectrumColormap()
Construct a spcetrum color map

Method Index

 o getColor(double)
Convert a value in the range 0..1 to an RGB color.

Constructors

 o SpectrumColormap
 public SpectrumColormap()
Construct a spcetrum color map

Methods

 o 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