Class MPSImageThresholdBinary

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class MPSImageThresholdBinary
extends MPSUnaryImageKernel
Since:
Available in iOS 9.0 and later.
  • Constructor Details

    • MPSImageThresholdBinary

      public MPSImageThresholdBinary()
    • MPSImageThresholdBinary

      protected MPSImageThresholdBinary​(NSObject.Handle h, long handle)
    • MPSImageThresholdBinary

      protected MPSImageThresholdBinary​(NSObject.SkipInit skipInit)
    • MPSImageThresholdBinary

      public MPSImageThresholdBinary​(MTLDevice device, float thresholdValue, float maximumValue, FloatPtr transform)
    • MPSImageThresholdBinary

      public MPSImageThresholdBinary​(NSCoder aDecoder, MTLDevice device)
      Since:
      Available in iOS 11.0 and later.
    • MPSImageThresholdBinary

      public MPSImageThresholdBinary​(NSCoder coder)
  • Method Details

    • getThresholdValue

      public float getThresholdValue()
    • getMaximumValue

      public float getMaximumValue()
    • getTransform

      public FloatPtr getTransform()
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

      protected long init​(MTLDevice device, float thresholdValue, float maximumValue, FloatPtr transform)
    • init

      protected long init​(NSCoder aDecoder, MTLDevice device)
      Overrides:
      init in class MPSUnaryImageKernel
      Since:
      Available in iOS 11.0 and later.