Class Kernel1D_F64


public class Kernel1D_F64 extends Kernel1D
Floating point 1D convolution kernel that extends Kernel1D.

WARNING: Do not modify. Automatically generated by boofcv.struct.convolve.GenerateKernel1D.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double[]
     

    Fields inherited from class boofcv.struct.convolve.KernelBase

    offset, width
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
     
    Kernel1D_F64(double[] data, int width)
    Creates a new kernel whose initial values are specified by "data" and length is "width".
     
    Kernel1D_F64(double[] data, int width, int offset)
    Creates a kernel with elements equal to 'data' and with the specified 'width' plus 'offset'
     
    Kernel1D_F64(int width)
    Create a kernel with elements initialized to zero.
     
    Kernel1D_F64(int width, int offset)
    Create a kernel whose elements initialized to zero.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
     
    double
    get(int i)
     
    double[]
     
    double
    getDouble(int index)
     
    boolean
     
    void
     
    void
    setD(int index, double value)
     
    wrap(double[] data, int width, int offset)
    Creates a kernel whose elements are the specified data array and has the specified width.

    Methods inherited from class boofcv.struct.convolve.Kernel1D

    getDimension

    Methods inherited from class boofcv.struct.convolve.KernelBase

    getRadius

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • data

      public double[] data
  • Constructor Details

    • Kernel1D_F64

      public Kernel1D_F64(double[] data, int width)
      Creates a new kernel whose initial values are specified by "data" and length is "width". The offset will be set to width/2
      Parameters:
      data - The value of the kernel. Not modified. Reference is not saved.
      width - The kernels width.
    • Kernel1D_F64

      public Kernel1D_F64(double[] data, int width, int offset)
      Creates a kernel with elements equal to 'data' and with the specified 'width' plus 'offset'
      Parameters:
      data - The value of the kernel. Not modified. Reference is not saved.
      width - The kernels width.
      offset - Location of the origin in the array
    • Kernel1D_F64

      public Kernel1D_F64(int width)
      Create a kernel with elements initialized to zero. Offset is automatically set to width/2.
      Parameters:
      width - How wide the kernel is.
    • Kernel1D_F64

      public Kernel1D_F64(int width, int offset)
      Create a kernel whose elements initialized to zero.
      Parameters:
      width - How wide the kernel is.
      offset - Location of the origin in the array
    • Kernel1D_F64

      protected Kernel1D_F64()
  • Method Details

    • getDouble

      public double getDouble(int index)
      Specified by:
      getDouble in class Kernel1D
    • setD

      public void setD(int index, double value)
      Specified by:
      setD in class Kernel1D
    • wrap

      public static Kernel1D_F64 wrap(double[] data, int width, int offset)
      Creates a kernel whose elements are the specified data array and has the specified width.
      Parameters:
      data - The array who will be the kernel's data. Reference is saved.
      width - The kernel's width.
      offset - Location of the origin in the array
      Returns:
      A new kernel.
    • copy

      public Kernel1D_F64 copy()
      Specified by:
      copy in class KernelBase
    • isInteger

      public boolean isInteger()
      Specified by:
      isInteger in class KernelBase
    • get

      public double get(int i)
    • computeSum

      public double computeSum()
    • getData

      public double[] getData()
    • print

      public void print()