Documentation of 'boofcv.alg.filter.convolve.GConvolveImageOps' Java class
GConvolveImageOps
boofcv.alg.filter.convolve

Class GConvolveImageOps



  • public class GConvolveImageOps
    extends java.lang.Object
    Image type agnostic convolution functions
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static <In extends ImageGray,Out extends ImageGray,K extends Kernel2D>
      void
      convolve(K kernel, In input, Out output)
      Performs a 2D convolution across the image.
      static <In extends ImageGray,Out extends ImageGray,K extends Kernel2D,B extends ImageBorder<In>>
      void
      convolve(K kernel, In input, Out output, B border)
      Performs a 2D convolution across the image.
      static <T extends ImageGray,K extends Kernel2D>
      void
      convolveNormalized(K kernel, T input, T output)
      Performs a 2D convolution across the image while re-normalizing the kernel depending on its overlap with the image.
      static <In extends ImageGray,Out extends ImageGray,K extends Kernel1D>
      void
      horizontal(K kernel, In input, In output)
      Performs a horizontal 1D convolution across the image.
      static <In extends ImageGray,Out extends ImageGray,K extends Kernel1D,B extends ImageBorder<In>>
      void
      horizontal(K kernel, In input, Out output, B border)
      Performs a horizontal 1D convolution across the image.
      static <In extends ImageGray,Out extends ImageGray,K extends Kernel1D>
      void
      horizontalNormalized(K kernel, In input, Out output)
      Performs a horizontal 1D convolution across the image while re-normalizing the kernel depending on its overlap with the image.
      static <In extends ImageGray,Out extends ImageGray,K extends Kernel1D>
      void
      vertical(K kernel, In input, Out output)
      Performs a horizontal 1D convolution across the image.
      static <In extends ImageGray,Out extends ImageGray,K extends Kernel1D,B extends ImageBorder<In>>
      void
      vertical(K kernel, In input, Out output, B border)
      Performs a vertical 1D convolution across the image.
      static <T extends ImageGray,K extends Kernel1D>
      void
      verticalNormalized(K kernel, T input, T output)
      Performs a vertical 1D convolution across the image while re-normalizing the kernel depending on its overlap with the image.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GConvolveImageOps

        public GConvolveImageOps()
    • Method Detail

      • horizontal

        public static <In extends ImageGray,Out extends ImageGray,K extends Kernel1D,B extends ImageBorder<In>> void horizontal(K kernel,
                                                                                                                                In input,
                                                                                                                                Out output,
                                                                                                                                B border)
        Performs a horizontal 1D convolution across the image. Borders are handled as specified by the 'border' parameter.
        Parameters:
        input - The original image. Not modified.
        output - Where the resulting image is written to. Modified.
        kernel - The kernel that is being convolved. Not modified.
        border - How the image borders are handled.
      • vertical

        public static <In extends ImageGray,Out extends ImageGray,K extends Kernel1D,B extends ImageBorder<In>> void vertical(K kernel,
                                                                                                                              In input,
                                                                                                                              Out output,
                                                                                                                              B border)
        Performs a vertical 1D convolution across the image. Borders are handled as specified by the 'border' parameter.
        Parameters:
        input - The original image. Not modified.
        output - Where the resulting image is written to. Modified.
        kernel - The kernel that is being convolved. Not modified.
        border - How the image borders are handled.
      • convolve

        public static <In extends ImageGray,Out extends ImageGray,K extends Kernel2D,B extends ImageBorder<In>> void convolve(K kernel,
                                                                                                                              In input,
                                                                                                                              Out output,
                                                                                                                              B border)
        Performs a 2D convolution across the image. Borders are handled as specified by the 'border' parameter.
        Parameters:
        input - The original image. Not modified.
        output - Where the resulting image is written to. Modified.
        kernel - The kernel that is being convolved. Not modified.
        border - How the image borders are handled.
      • horizontal

        public static <In extends ImageGray,Out extends ImageGray,K extends Kernel1D> void horizontal(K kernel,
                                                                                                      In input,
                                                                                                      In output)
        Performs a horizontal 1D convolution across the image. The horizontal border is not processed.
        Parameters:
        input - The original image. Not modified.
        output - Where the resulting image is written to. Modified.
        kernel - The kernel that is being convolved. Not modified.
      • vertical

        public static <In extends ImageGray,Out extends ImageGray,K extends Kernel1D> void vertical(K kernel,
                                                                                                    In input,
                                                                                                    Out output)
        Performs a horizontal 1D convolution across the image. The horizontal border is not processed.
        Parameters:
        input - The original image. Not modified.
        output - Where the resulting image is written to. Modified.
        kernel - The kernel that is being convolved. Not modified.
      • convolve

        public static <In extends ImageGray,Out extends ImageGray,K extends Kernel2D> void convolve(K kernel,
                                                                                                    In input,
                                                                                                    Out output)
        Performs a 2D convolution across the image. The image's borders are not processed.
        Parameters:
        kernel - A square kernel that will be convolved across the source image
        input - The source image that is to be convolved
        output - The results of the convolution
      • horizontalNormalized

        public static <In extends ImageGray,Out extends ImageGray,K extends Kernel1D> void horizontalNormalized(K kernel,
                                                                                                                In input,
                                                                                                                Out output)
        Performs a horizontal 1D convolution across the image while re-normalizing the kernel depending on its overlap with the image.
        Parameters:
        input - The original image. Not modified.
        output - Where the resulting image is written to. Modified.
        kernel - The kernel that is being convolved. Not modified.
      • verticalNormalized

        public static <T extends ImageGray,K extends Kernel1D> void verticalNormalized(K kernel,
                                                                                       T input,
                                                                                       T output)
        Performs a vertical 1D convolution across the image while re-normalizing the kernel depending on its overlap with the image.
        Parameters:
        input - The original image. Not modified.
        output - Where the resulting image is written to. Modified.
        kernel - The kernel that is being convolved. Not modified.
      • convolveNormalized

        public static <T extends ImageGray,K extends Kernel2D> void convolveNormalized(K kernel,
                                                                                       T input,
                                                                                       T output)
        Performs a 2D convolution across the image while re-normalizing the kernel depending on its overlap with the image.
        Parameters:
        input - The original image. Not modified.
        output - Where the resulting image is written to. Modified.
        kernel - The kernel that is being convolved. Not modified.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.