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

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 and Description
      double[] data 
    • Constructor Summary

      Constructors 
      Constructor and Description
      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.
    • Field Detail

      • data

        public double[] data
    • Constructor Detail

      • 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
    • Method Detail

      • 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.
      • get

        public double get(int i)
      • computeSum

        public double computeSum()
      • getData

        public double[] getData()
      • print

        public void print()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.