All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.jhlabs.image.GrayscaleColormap

java.lang.Object
   |
   +----com.jhlabs.image.GrayscaleColormap

public class GrayscaleColormap
extends java.lang.Object
implements com.jhlabs.image.Colormap, java.io.Serializable
A grayscale colormap. Black is 0, white is 1.


Constructor Index

 o GrayscaleColormap()

Method Index

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

Constructors

 o GrayscaleColormap
 public GrayscaleColormap()

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