Package boofcv.alg.filter.convolve
Class ConvolveImageDownNormalized
java.lang.Object
boofcv.alg.filter.convolve.ConvolveImageDownNormalized
Specialized convolution where the center of the convolution skips over a constant number of pixels in the x and/or y axis. Image borders are handled by renormalizing the kernel. The output it written into an image in a dense fashion, resulting in it being at a lower resolution. A typical application for this is down sampling inside an image pyramid.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
convolve
(Kernel2D_F32 kernel, GrayF32 image, GrayF32 dest, int skip) Performs a 2D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.static void
convolve
(Kernel2D_S32 kernel, GrayS16 image, GrayI16 dest, int skip) Performs a 2D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.static void
convolve
(Kernel2D_S32 kernel, GrayU8 image, GrayI8 dest, int skip) Performs a 2D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.static void
horizontal
(Kernel1D_F32 kernel, GrayF32 image, GrayF32 dest, int skip) Performs a horizontal 1D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.static void
horizontal
(Kernel1D_S32 kernel, GrayS16 image, GrayI16 dest, int skip) Performs a horizontal 1D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.static void
horizontal
(Kernel1D_S32 kernel, GrayU8 image, GrayI8 dest, int skip) Performs a horizontal 1D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.static void
vertical
(Kernel1D_F32 kernel, GrayF32 image, GrayF32 dest, int skip) Performs a vertical 1D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.static void
vertical
(Kernel1D_S32 kernel, GrayS16 image, GrayI16 dest, int skip) Performs a vertical 1D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.static void
vertical
(Kernel1D_S32 kernel, GrayU8 image, GrayI8 dest, int skip) Performs a vertical 1D down convolution across the image while re-normalizing the kernel depending on its overlap with the image.
-
Constructor Details
-
ConvolveImageDownNormalized
public ConvolveImageDownNormalized()
-
-
Method Details
-
horizontal
Performs a horizontal 1D down 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
Performs a vertical 1D down 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
Performs a 2D down 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
Performs a horizontal 1D down 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
Performs a vertical 1D down 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
Performs a 2D down 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
Performs a horizontal 1D down 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
Performs a vertical 1D down 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
Performs a 2D down 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.
-