Class MPSImageConvolution

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

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

    • MPSImageConvolution

      public MPSImageConvolution()
    • MPSImageConvolution

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

      protected MPSImageConvolution​(NSObject.SkipInit skipInit)
    • MPSImageConvolution

      public MPSImageConvolution​(MTLDevice device, long kernelWidth, long kernelHeight, FloatPtr kernelWeights)
    • MPSImageConvolution

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

      public MPSImageConvolution​(MTLDevice device)
    • MPSImageConvolution

      public MPSImageConvolution​(NSCoder coder)
  • Method Details

    • getKernelHeight

      public long getKernelHeight()
    • getKernelWidth

      public long getKernelWidth()
    • getBias

      public float getBias()
    • setBias

      public void setBias​(float v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

      protected long init​(MTLDevice device, long kernelWidth, long kernelHeight, FloatPtr kernelWeights)
    • init

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