Package boofcv.alg.filter.convolve
Class ConvolveImageBox
java.lang.Object
boofcv.alg.filter.convolve.ConvolveImageBox
public class ConvolveImageBox extends Object
Convolves a kernel which is composed entirely of 1's across an image. This special kernel can be highly optimized
and has a computational complexity independent of the kernel size.
-
Constructor Summary
Constructors Constructor Description ConvolveImageBox()
-
Method Summary
Modifier and Type Method Description static void
horizontal(GrayF32 input, GrayF32 output, int radius)
Performs a horizontal 1D convolution of a box kernel across the imagestatic void
horizontal(GrayS16 input, GrayI16 output, int radius)
Performs a horizontal 1D convolution of a box kernel across the imagestatic void
horizontal(GrayU8 input, GrayI16 output, int radius)
Performs a horizontal 1D convolution of a box kernel across the imagestatic void
horizontal(GrayU8 input, GrayS32 output, int radius)
Performs a horizontal 1D convolution of a box kernel across the imagestatic void
vertical(GrayF32 input, GrayF32 output, int radius, @Nullable GrowArray<DogArray_F32> work)
Performs a vertical 1D convolution of a box kernel across the imagestatic void
vertical(GrayS16 input, GrayI16 output, int radius, @Nullable GrowArray<DogArray_I32> work)
Performs a vertical 1D convolution of a box kernel across the imagestatic void
vertical(GrayU8 input, GrayI16 output, int radius, @Nullable GrowArray<DogArray_I32> work)
Performs a vertical 1D convolution of a box kernel across the imagestatic void
vertical(GrayU8 input, GrayS32 output, int radius, @Nullable GrowArray<DogArray_I32> work)
Performs a vertical 1D convolution of a box kernel across the image
-
Constructor Details
-
ConvolveImageBox
public ConvolveImageBox()
-
-
Method Details
-
horizontal
Performs a horizontal 1D convolution of a box kernel across the image- Parameters:
input
- The original image. Not modified.output
- Where the resulting image is written to. Modified.radius
- Kernel size.
-
horizontal
Performs a horizontal 1D convolution of a box kernel across the image- Parameters:
input
- The original image. Not modified.output
- Where the resulting image is written to. Modified.radius
- Kernel size.
-
horizontal
Performs a horizontal 1D convolution of a box kernel across the image- Parameters:
input
- The original image. Not modified.output
- Where the resulting image is written to. Modified.radius
- Kernel size.
-
horizontal
Performs a horizontal 1D convolution of a box kernel across the image- Parameters:
input
- The original image. Not modified.output
- Where the resulting image is written to. Modified.radius
- Kernel size.
-
vertical
public static void vertical(GrayF32 input, GrayF32 output, int radius, @Nullable @Nullable GrowArray<DogArray_F32> work)Performs a vertical 1D convolution of a box kernel across the image- Parameters:
input
- The original image. Not modified.output
- Where the resulting image is written to. Modified.radius
- Kernel size.
-
vertical
public static void vertical(GrayU8 input, GrayI16 output, int radius, @Nullable @Nullable GrowArray<DogArray_I32> work)Performs a vertical 1D convolution of a box kernel across the image- Parameters:
input
- The original image. Not modified.output
- Where the resulting image is written to. Modified.radius
- Kernel size.
-
vertical
public static void vertical(GrayU8 input, GrayS32 output, int radius, @Nullable @Nullable GrowArray<DogArray_I32> work)Performs a vertical 1D convolution of a box kernel across the image- Parameters:
input
- The original image. Not modified.output
- Where the resulting image is written to. Modified.radius
- Kernel size.
-
vertical
public static void vertical(GrayS16 input, GrayI16 output, int radius, @Nullable @Nullable GrowArray<DogArray_I32> work)Performs a vertical 1D convolution of a box kernel across the image- Parameters:
input
- The original image. Not modified.output
- Where the resulting image is written to. Modified.radius
- Kernel size.
-