Package com.jhlabs.image
Class GrayscaleColormap
java.lang.Object
com.jhlabs.image.GrayscaleColormap
- All Implemented Interfaces:
Colormap
,Serializable
A grayscale colormap. Black is 0, white is 1.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getColor
(float v) Convert a value in the range 0..1 to an RGB color.