public class SawToothPhaseModuleValue extends DomainColoring
Value encodes both phase and module using two sawtooth functions.
The sawtooth functions are computed from a natural logarithm and fractional parts. They enhance both phase and modules changes with discontinuities and dark cells.
Modifier | Constructor and Description |
---|---|
protected |
SawToothPhaseModuleValue(double saturation,
double minBrightness,
double maxBrightness,
int nbLines)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
value(Complex z)
Get value for a complex value.
|
hue, saturation
protected SawToothPhaseModuleValue(double saturation, double minBrightness, double maxBrightness, int nbLines)
saturation
- constant saturationminBrightness
- minimum brightnessmaxBrightness
- maximum brightnessnbLines
- number of lines per cyclepublic double value(Complex z)
value
in class DomainColoring
z
- complex valueCopyright © 2016-2021 CS GROUP. All rights reserved.