Documentation of 'boofcv.struct.convolve.KernelBase' Java class
KernelBase
boofcv.struct.convolve

Class KernelBase

  • Direct Known Subclasses:
    Kernel1D, Kernel2D


    public abstract class KernelBase
    extends java.lang.Object
    Base class for all convolution kernels.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      int offset
      which index is the kernel's origin.
      int width 
    • Field Detail

      • width

        public int width
      • offset

        public int offset
        which index is the kernel's origin. For symmetric kernels with an odd width it is width/2
    • Method Detail

      • getWidth

        public int getWidth()
        The kernel's width. This is an odd number.
        Returns:
        Kernel's width.
      • getRadius

        public int getRadius()
        The radius is defined as the width divided by two.
        Returns:
        The kernel's radius.
      • getOffset

        public int getOffset()
        Which index is the origin in the kernel
      • getDimension

        public abstract int getDimension()
        Returns the dimension of this kernel, 1D or 2D.
        Returns:
        Kernel's dimension
      • isInteger

        public abstract boolean isInteger()
      • copy

        public abstract <T extends KernelBase> T copy()

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.