Maps image value channel so that all the pixels darker than the black point are set to 0, all the pixels brighter than the white point are set to 255, and the pixels in between are linearly scaled.

Hierarchy

  • PartiallyConstructible
    • WhiteBlackPointFilter

Constructors

Properties

Constructors

  • Parameters

    • Optional source: {
          _type?: "WhiteBlackPointFilter";
          blackPoint?: number;
          whitePoint?: number;
      }
      • Optional _type?: "WhiteBlackPointFilter"
      • Optional blackPoint?: number

        Fraction of the value channel range that is set to 0. The value should be in the range from 0 to 1.

        Default Value

        0.0;
        
      • Optional whitePoint?: number

        Fraction of the value channel range that is not set to 255. The value should be in the range from 0 to 1.

        Default Value

        1.0;
        

    Returns WhiteBlackPointFilter

Properties

_type: "WhiteBlackPointFilter"
blackPoint: number

Fraction of the value channel range that is set to 0. The value should be in the range from 0 to 1.

Default Value

0.0;
whitePoint: number

Fraction of the value channel range that is not set to 255. The value should be in the range from 0 to 1.

Default Value

1.0;

Generated using TypeDoc