Class SawToothPhaseModuleValue


  • public class SawToothPhaseModuleValue
    extends DomainColoring
    Domain coloring enhancing both phase and module changes.

    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.

    • Constructor Detail

      • SawToothPhaseModuleValue

        protected SawToothPhaseModuleValue​(double saturation,
                                           double minBrightness,
                                           double maxBrightness,
                                           int nbLines)
        Simple constructor.
        Parameters:
        saturation - constant saturation
        minBrightness - minimum brightness
        maxBrightness - maximum brightness
        nbLines - number of lines per cycle
    • Method Detail

      • value

        public double value​(Complex z)
        Get value for a complex value.
        Specified by:
        value in class DomainColoring
        Parameters:
        z - complex value
        Returns:
        value