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

Class ConvolveNormalizedSparse



  • public class ConvolveNormalizedSparse
    extends java.lang.Object
    Performs a convolution around a single pixel only using two 1D kernels in the horizontal and vertical direction. Borders are checked and if on an image border the kernel is truncated and re-normalized. Only to be used with kernels that can be re-normalized
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static float convolve(Kernel1D_F32 horizontal, Kernel1D_F32 vertical, GrayF32 input, int c_x, int c_y, float[] storage)
      Convolves around the specified point in the horizontal and vertical direction.
      static int convolve(Kernel1D_I32 horizontal, Kernel1D_I32 vertical, GrayS16 input, int c_x, int c_y, int[] storage)
      Convolves around the specified point in the horizontal and vertical direction.
      static int convolve(Kernel1D_I32 horizontal, Kernel1D_I32 vertical, GrayU8 input, int c_x, int c_y, int[] storage)
      Convolves around the specified point in the horizontal and vertical direction.
      • Methods inherited from class java.lang.Object

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

      • ConvolveNormalizedSparse

        public ConvolveNormalizedSparse()
    • Method Detail

      • convolve

        public static float convolve(Kernel1D_F32 horizontal,
                                     Kernel1D_F32 vertical,
                                     GrayF32 input,
                                     int c_x,
                                     int c_y,
                                     float[] storage)
        Convolves around the specified point in the horizontal and vertical direction. When at the border of the image the kernel is re-normalized.
        Parameters:
        horizontal - Kernel convolved across the point in the horizontal direction.
        vertical - Kernel convolved across the point in the vertical direction.
        input - Image being convolved.
        c_x - The x-coordinate of the point being convolved.
        c_y - The y-coordinate of the point being convolved.
        storage - Temporary storage. Needs to be the same size as the kernels being convolved.
        Returns:
        Result of the convolution.
      • convolve

        public static int convolve(Kernel1D_I32 horizontal,
                                   Kernel1D_I32 vertical,
                                   GrayU8 input,
                                   int c_x,
                                   int c_y,
                                   int[] storage)
        Convolves around the specified point in the horizontal and vertical direction. When at the border of the image the kernel is re-normalized.
        Parameters:
        horizontal - Kernel convolved across the point in the horizontal direction.
        vertical - Kernel convolved across the point in the vertical direction.
        input - Image being convolved.
        c_x - The x-coordinate of the point being convolved.
        c_y - The y-coordinate of the point being convolved.
        storage - Temporary storage. Needs to be the same size as the kernels being convolved.
        Returns:
        Result of the convolution.
      • convolve

        public static int convolve(Kernel1D_I32 horizontal,
                                   Kernel1D_I32 vertical,
                                   GrayS16 input,
                                   int c_x,
                                   int c_y,
                                   int[] storage)
        Convolves around the specified point in the horizontal and vertical direction. When at the border of the image the kernel is re-normalized.
        Parameters:
        horizontal - Kernel convolved across the point in the horizontal direction.
        vertical - Kernel convolved across the point in the vertical direction.
        input - Image being convolved.
        c_x - The x-coordinate of the point being convolved.
        c_y - The y-coordinate of the point being convolved.
        storage - Temporary storage. Needs to be the same size as the kernels being convolved.
        Returns:
        Result of the convolution.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.