Class WhiteBlackPointFilter

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public final class WhiteBlackPointFilter
    extends ParametricFilter
                        

    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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Float getBlackPoint() Fraction of the value channel range that is set to 0.
      final Float getWhitePoint() Fraction of the value channel range that is not set to 255.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WhiteBlackPointFilter

        WhiteBlackPointFilter(Float blackPoint, Float whitePoint)
    • Method Detail

      • getBlackPoint

         final Float getBlackPoint()

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

      • getWhitePoint

         final Float getWhitePoint()

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