ICY Version 1.0.1.0
Public Member Functions

icy.image.colormap.HSVColorMap Class Reference

Inheritance diagram for icy.image.colormap.HSVColorMap:
icy.image.colormap.IcyColorMap icy.common.IcyChangedListener icy.file.xml.XMLPersistent

List of all members.

Public Member Functions

 HSVColorMap ()
 HSVColorMap (float saturation, float value) throws IllegalArgumentException

Detailed Description

Author:
stephane

Constructor & Destructor Documentation

icy.image.colormap.HSVColorMap.HSVColorMap ( )

Creates a HSV color map with default saturation of 1 and value of 1

icy.image.colormap.HSVColorMap.HSVColorMap ( float  saturation,
float  value 
) throws IllegalArgumentException

Creates a HSV color map using a periodic variation the hue parameter, i.e. the actual RGB color is the same (red) at both ends of the map.
The implementation is actually similar to that of the java.awt.Color class, but this method is optimized to produce floating point RGB values between 0 and 1 for directly use in a ColorSpace.

Parameters:
saturationthe color saturation between 0 and 1 (0 = weak, 1 = strong)
valuethe color value between 0 and 1 (0 = dark, 1 = light)
Exceptions:
IllegalArgumentExceptionif any of the parameters is out of range

The documentation for this class was generated from the following file:
 All Classes Functions Variables