Class Kernel1D

java.lang.Object
boofcv.struct.convolve.KernelBase
boofcv.struct.convolve.Kernel1D
Direct Known Subclasses:
Kernel1D_F32, Kernel1D_F64, Kernel1D_S32, KernelContinuous1D_F32

public abstract class Kernel1D
extends KernelBase
This is a kernel in a 1D convolution. The kernel's width is the number of elements in it and must be an odd number. A kernel's radius is defined as the width divided by two.
  • Constructor Details

    • Kernel1D

      protected Kernel1D​(int width)
    • Kernel1D

      protected Kernel1D​(int width, int offset)
    • Kernel1D

      protected Kernel1D()
  • Method Details

    • getDimension

      public int getDimension()
      Description copied from class: KernelBase
      Returns the dimension of this kernel, 1D or 2D.
      Specified by:
      getDimension in class KernelBase
      Returns:
      Kernel's dimension
    • getDouble

      public abstract double getDouble​(int index)
    • setD

      public abstract void setD​(int index, double value)