boofcv.alg.filter.convolve
Class ConvolveNormalized
- java.lang.Object
-
- boofcv.alg.filter.convolve.ConvolveNormalized
-
public class ConvolveNormalized extends java.lang.ObjectConvolves a kernel across an image and scales the kernel such that the sum of the portion inside the image sums up to one.
-
-
Constructor Summary
Constructors Constructor and Description ConvolveNormalized()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidconvolve(Kernel2D_F32 kernel, GrayF32 image, GrayF32 dest)Performs a 2D convolution across the image while re-normalizing the kernel depending on its overlap with the image.static voidconvolve(Kernel2D_I32 kernel, GrayS16 image, GrayI16 dest)Performs a 2D convolution across the image while re-normalizing the kernel depending on its overlap with the image.static voidconvolve(Kernel2D_I32 kernel, GrayU8 image, GrayI8 dest)Performs a 2D convolution across the image while re-normalizing the kernel depending on its overlap with the image.static voidhorizontal(Kernel1D_F32 kernel, GrayF32 image, GrayF32 dest)Performs a horizontal 1D convolution across the image while re-normalizing the kernel depending on its overlap with the image.static voidhorizontal(Kernel1D_I32 kernel, GrayS16 image, GrayI16 dest)Performs a horizontal 1D convolution across the image while re-normalizing the kernel depending on its overlap with the image.static voidhorizontal(Kernel1D_I32 kernel, GrayS32 image, GrayS32 dest)Performs a horizontal 1D convolution across the image while re-normalizing the kernel depending on its overlap with the image.static voidhorizontal(Kernel1D_I32 kernel, GrayU8 image, GrayI8 dest)Performs a horizontal 1D convolution across the image while re-normalizing the kernel depending on its overlap with the image.static voidvertical(Kernel1D_F32 kernel, GrayF32 image, GrayF32 dest)Performs a vertical 1D convolution across the image while re-normalizing the kernel depending on its overlap with the image.static voidvertical(Kernel1D_I32 kernel, GrayS16 image, GrayI16 dest)Performs a vertical 1D convolution across the image while re-normalizing the kernel depending on its overlap with the image.static voidvertical(Kernel1D_I32 kernel, GrayS32 image, GrayS32 dest)Performs a vertical 1D convolution across the image while re-normalizing the kernel depending on its overlap with the image.static voidvertical(Kernel1D_I32 kernel, GrayU8 image, GrayI8 dest)Performs a vertical 1D convolution across the image while re-normalizing the kernel depending on its overlap with the image.
-
-
-
Method Detail
-
horizontal
public static void horizontal(Kernel1D_F32 kernel, GrayF32 image, GrayF32 dest)
Performs a horizontal 1D convolution across the image while re-normalizing the kernel depending on its overlap with the image.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.
-
vertical
public static void vertical(Kernel1D_F32 kernel, GrayF32 image, GrayF32 dest)
Performs a vertical 1D convolution across the image while re-normalizing the kernel depending on its overlap with the image.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.
-
convolve
public static void convolve(Kernel2D_F32 kernel, GrayF32 image, GrayF32 dest)
Performs a 2D convolution across the image while re-normalizing the kernel depending on its overlap with the image.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.
-
horizontal
public static void horizontal(Kernel1D_I32 kernel, GrayU8 image, GrayI8 dest)
Performs a horizontal 1D convolution across the image while re-normalizing the kernel depending on its overlap with the image.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.
-
vertical
public static void vertical(Kernel1D_I32 kernel, GrayU8 image, GrayI8 dest)
Performs a vertical 1D convolution across the image while re-normalizing the kernel depending on its overlap with the image.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.
-
convolve
public static void convolve(Kernel2D_I32 kernel, GrayU8 image, GrayI8 dest)
Performs a 2D convolution across the image while re-normalizing the kernel depending on its overlap with the image.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.
-
horizontal
public static void horizontal(Kernel1D_I32 kernel, GrayS16 image, GrayI16 dest)
Performs a horizontal 1D convolution across the image while re-normalizing the kernel depending on its overlap with the image.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.
-
horizontal
public static void horizontal(Kernel1D_I32 kernel, GrayS32 image, GrayS32 dest)
Performs a horizontal 1D convolution across the image while re-normalizing the kernel depending on its overlap with the image.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.
-
vertical
public static void vertical(Kernel1D_I32 kernel, GrayS16 image, GrayI16 dest)
Performs a vertical 1D convolution across the image while re-normalizing the kernel depending on its overlap with the image.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.
-
vertical
public static void vertical(Kernel1D_I32 kernel, GrayS32 image, GrayS32 dest)
Performs a vertical 1D convolution across the image while re-normalizing the kernel depending on its overlap with the image.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.
-
convolve
public static void convolve(Kernel2D_I32 kernel, GrayS16 image, GrayI16 dest)
Performs a 2D convolution across the image while re-normalizing the kernel depending on its overlap with the image.- Parameters:
image- The original image. Not modified.dest- Where the resulting image is written to. Modified.kernel- The kernel that is being convolved. Not modified.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG