net.sourceforge.jiu.color.adjustment
Class HueSaturationValue
- RGBIndex
public class HueSaturationValue
private void | adjust(int[] orig, int[] adjusted, float maxSample)
|
void | process()
|
private void | process(Paletted8Image in, Paletted8Image out)
|
private void | process(RGBIntegerImage in, RGBIntegerImage out)
|
void | setHueSaturationValue(int hue, int saturation, int value) - Set the values for the adjustment of hue, saturation and value (brightness).
|
void | setSaturationValue(int saturation, int value) - Set the amount of change to saturation and value (brightness) for this operation,
between -100 and 100.
|
private void | setSv(int saturation, int value)
|
modifyHue
private boolean modifyHue
sNegative
private boolean sNegative
vNegative
private boolean vNegative
adjust
private final void adjust(int[] orig,
int[] adjusted,
float maxSample)
setHueSaturationValue
public void setHueSaturationValue(int hue,
int saturation,
int value)
Set the values for the adjustment of hue, saturation and value (brightness).
Saturation and value must be from the interval -100 to 100 (also see
setSaturationValue(int,int)
).
Hue must be from the interval 0 to 359.
hue
- the hue to be used for the complete image, between 0 and 359saturation
- change of saturation, between -100 and 100value
- change of saturation, between -100 and 100
setSaturationValue
public void setSaturationValue(int saturation,
int value)
Set the amount of change to saturation and value (brightness) for this operation,
between -100 and 100.
Calling this method also tells the operation not to modify the hue of the image.
saturation
- change of saturation, between -100 and 100value
- change of saturation, between -100 and 100
setSv
private void setSv(int saturation,
int value)