Class MPSImageCanny

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class MPSImageCanny
extends MPSUnaryImageKernel
Since:
Available in iOS 14.0 and later.
  • Constructor Details

    • MPSImageCanny

      public MPSImageCanny()
    • MPSImageCanny

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

      protected MPSImageCanny​(NSObject.SkipInit skipInit)
    • MPSImageCanny

      public MPSImageCanny​(MTLDevice device)
    • MPSImageCanny

      public MPSImageCanny​(MTLDevice device, FloatPtr transform, float sigma)
    • MPSImageCanny

      public MPSImageCanny​(NSCoder decoder, MTLDevice device)
    • MPSImageCanny

      public MPSImageCanny​(NSCoder coder)
  • Method Details

    • getColorTransform

      public FloatPtr getColorTransform()
    • getSigma

      public float getSigma()
    • getHighThreshold

      public float getHighThreshold()
    • setHighThreshold

      public void setHighThreshold​(float v)
    • getLowThreshold

      public float getLowThreshold()
    • setLowThreshold

      public void setLowThreshold​(float v)
    • isUseFastMode

      public boolean isUseFastMode()
    • setUseFastMode

      public void setUseFastMode​(boolean v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

      protected long init​(MTLDevice device)
      Overrides:
      init in class MPSUnaryImageKernel
    • init

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

      protected long init​(NSCoder decoder, MTLDevice device)
      Overrides:
      init in class MPSUnaryImageKernel