Class ConvolveImageNoBorder
Provides functions for convolving 1D and 2D kernels across an image, excluding the image border. 1D kernels can either be convolved along each row or column in the image. No checks are done for overflow or underflow.
When convolving with division the convolution is computed as usual, but then the result is divided by the divisor. This is typically done when performing convolution inside of integer images to normalize it by the sum of all the elements in the convolution kernel.
Image Edges: There is no general purpose way for handling convolutions along the image edges. Therefore unless the whole kernel can be convolved image borders are skipped. In special cases where there is a clear way to handle image edges specialized functions are provided.
DO NOT MODIFY. Automatically generated code created by GenerateConvolveImageNoBorder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
convolve
(Kernel2D_F32 kernel, GrayF32 input, GrayF32 output) static void
convolve
(Kernel2D_F32 kernel, InterleavedF32 input, InterleavedF32 output) static void
convolve
(Kernel2D_F64 kernel, GrayF64 input, GrayF64 output) static void
convolve
(Kernel2D_F64 kernel, InterleavedF64 input, InterleavedF64 output) static void
convolve
(Kernel2D_S32 kernel, GrayS16 input, GrayI16 output) static void
convolve
(Kernel2D_S32 kernel, GrayS16 input, GrayI16 output, int divisor, @Nullable GrowArray<DogArray_I32> work) static void
convolve
(Kernel2D_S32 kernel, GrayS32 input, GrayS32 output) static void
convolve
(Kernel2D_S32 kernel, GrayS32 input, GrayS32 output, int divisor, @Nullable GrowArray<DogArray_I32> work) static void
convolve
(Kernel2D_S32 kernel, GrayU16 input, GrayI16 output, int divisor, @Nullable GrowArray<DogArray_I32> work) static void
convolve
(Kernel2D_S32 kernel, GrayU8 input, GrayI16 output) static void
convolve
(Kernel2D_S32 kernel, GrayU8 input, GrayI8 output, int divisor, @Nullable GrowArray<DogArray_I32> work) static void
convolve
(Kernel2D_S32 kernel, GrayU8 input, GrayS32 output) static void
convolve
(Kernel2D_S32 kernel, InterleavedS16 input, InterleavedI16 output) static void
convolve
(Kernel2D_S32 kernel, InterleavedS16 input, InterleavedI16 output, int divisor) static void
convolve
(Kernel2D_S32 kernel, InterleavedS32 input, InterleavedS32 output) static void
convolve
(Kernel2D_S32 kernel, InterleavedS32 input, InterleavedS32 output, int divisor) static void
convolve
(Kernel2D_S32 kernel, InterleavedU16 input, InterleavedI16 output, int divisor) static void
convolve
(Kernel2D_S32 kernel, InterleavedU8 input, InterleavedI16 output) static void
convolve
(Kernel2D_S32 kernel, InterleavedU8 input, InterleavedI8 output, int divisor) static void
convolve
(Kernel2D_S32 kernel, InterleavedU8 input, InterleavedS32 output) static void
horizontal
(Kernel1D_F32 kernel, GrayF32 input, GrayF32 output) static void
horizontal
(Kernel1D_F32 kernel, InterleavedF32 input, InterleavedF32 output) static void
horizontal
(Kernel1D_F64 kernel, GrayF64 input, GrayF64 output) static void
horizontal
(Kernel1D_F64 kernel, InterleavedF64 input, InterleavedF64 output) static void
horizontal
(Kernel1D_S32 kernel, GrayS16 input, GrayI16 output) static void
horizontal
(Kernel1D_S32 kernel, GrayS16 input, GrayI16 output, int divisor) static void
horizontal
(Kernel1D_S32 kernel, GrayS32 input, GrayS32 output) static void
horizontal
(Kernel1D_S32 kernel, GrayS32 input, GrayS32 output, int divisor) static void
horizontal
(Kernel1D_S32 kernel, GrayU16 input, GrayI16 output, int divisor) static void
horizontal
(Kernel1D_S32 kernel, GrayU8 input, GrayI16 output) static void
horizontal
(Kernel1D_S32 kernel, GrayU8 input, GrayI8 output, int divisor) static void
horizontal
(Kernel1D_S32 kernel, GrayU8 input, GrayS32 output) static void
horizontal
(Kernel1D_S32 kernel, InterleavedS16 input, InterleavedI16 output) static void
horizontal
(Kernel1D_S32 kernel, InterleavedS16 input, InterleavedI16 output, int divisor) static void
horizontal
(Kernel1D_S32 kernel, InterleavedS32 input, InterleavedS32 output) static void
horizontal
(Kernel1D_S32 kernel, InterleavedS32 input, InterleavedS32 output, int divisor) static void
horizontal
(Kernel1D_S32 kernel, InterleavedU16 input, InterleavedI16 output, int divisor) static void
horizontal
(Kernel1D_S32 kernel, InterleavedU8 input, InterleavedI16 output) static void
horizontal
(Kernel1D_S32 kernel, InterleavedU8 input, InterleavedI8 output, int divisor) static void
horizontal
(Kernel1D_S32 kernel, InterleavedU8 input, InterleavedS32 output) static void
vertical
(Kernel1D_F32 kernel, GrayF32 input, GrayF32 output) static void
vertical
(Kernel1D_F32 kernel, InterleavedF32 input, InterleavedF32 output) static void
vertical
(Kernel1D_F64 kernel, GrayF64 input, GrayF64 output) static void
vertical
(Kernel1D_F64 kernel, InterleavedF64 input, InterleavedF64 output) static void
vertical
(Kernel1D_S32 kernel, GrayS16 input, GrayI16 output) static void
vertical
(Kernel1D_S32 kernel, GrayS16 input, GrayI16 output, int divisor, @Nullable GrowArray<DogArray_I32> work) static void
vertical
(Kernel1D_S32 kernel, GrayS32 input, GrayI16 output, int divisor, @Nullable GrowArray<DogArray_I32> work) static void
vertical
(Kernel1D_S32 kernel, GrayS32 input, GrayS32 output) static void
vertical
(Kernel1D_S32 kernel, GrayS32 input, GrayS32 output, int divisor, @Nullable GrowArray<DogArray_I32> work) static void
vertical
(Kernel1D_S32 kernel, GrayU16 input, GrayI16 output, int divisor, @Nullable GrowArray<DogArray_I32> work) static void
vertical
(Kernel1D_S32 kernel, GrayU16 input, GrayI8 output, int divisor, @Nullable GrowArray<DogArray_I32> work) static void
vertical
(Kernel1D_S32 kernel, GrayU8 input, GrayI16 output) static void
vertical
(Kernel1D_S32 kernel, GrayU8 input, GrayI8 output, int divisor, @Nullable GrowArray<DogArray_I32> work) static void
vertical
(Kernel1D_S32 kernel, GrayU8 input, GrayS32 output) static void
vertical
(Kernel1D_S32 kernel, InterleavedS16 input, InterleavedI16 output) static void
vertical
(Kernel1D_S32 kernel, InterleavedS16 input, InterleavedI16 output, int divisor) static void
vertical
(Kernel1D_S32 kernel, InterleavedS32 input, InterleavedI16 output, int divisor) static void
vertical
(Kernel1D_S32 kernel, InterleavedS32 input, InterleavedS32 output) static void
vertical
(Kernel1D_S32 kernel, InterleavedS32 input, InterleavedS32 output, int divisor) static void
vertical
(Kernel1D_S32 kernel, InterleavedU16 input, InterleavedI16 output, int divisor) static void
vertical
(Kernel1D_S32 kernel, InterleavedU16 input, InterleavedI8 output, int divisor) static void
vertical
(Kernel1D_S32 kernel, InterleavedU8 input, InterleavedI16 output) static void
vertical
(Kernel1D_S32 kernel, InterleavedU8 input, InterleavedI8 output, int divisor) static void
vertical
(Kernel1D_S32 kernel, InterleavedU8 input, InterleavedS32 output)
-
Constructor Details
-
ConvolveImageNoBorder
public ConvolveImageNoBorder()
-
-
Method Details
-
horizontal
-
vertical
-
convolve
-
horizontal
-
vertical
-
convolve
-
horizontal
-
vertical
-
convolve
-
horizontal
-
vertical
-
convolve
-
horizontal
-
vertical
-
convolve
-
horizontal
-
vertical
-
convolve
-
horizontal
-
vertical
-
convolve
-
horizontal
-
vertical
-
convolve
-
vertical
public static void vertical(Kernel1D_S32 kernel, GrayU16 input, GrayI8 output, int divisor, @Nullable @Nullable GrowArray<DogArray_I32> work) -
vertical
public static void vertical(Kernel1D_S32 kernel, InterleavedU16 input, InterleavedI8 output, int divisor) -
horizontal
-
vertical
-
convolve
-
horizontal
-
vertical
-
convolve
-
horizontal
-
vertical
public static void vertical(Kernel1D_S32 kernel, GrayU8 input, GrayI8 output, int divisor, @Nullable @Nullable GrowArray<DogArray_I32> work) -
convolve
public static void convolve(Kernel2D_S32 kernel, GrayU8 input, GrayI8 output, int divisor, @Nullable @Nullable GrowArray<DogArray_I32> work) -
horizontal
public static void horizontal(Kernel1D_S32 kernel, InterleavedU8 input, InterleavedI8 output, int divisor) -
vertical
public static void vertical(Kernel1D_S32 kernel, InterleavedU8 input, InterleavedI8 output, int divisor) -
convolve
public static void convolve(Kernel2D_S32 kernel, InterleavedU8 input, InterleavedI8 output, int divisor) -
horizontal
-
vertical
public static void vertical(Kernel1D_S32 kernel, GrayS16 input, GrayI16 output, int divisor, @Nullable @Nullable GrowArray<DogArray_I32> work) -
convolve
public static void convolve(Kernel2D_S32 kernel, GrayS16 input, GrayI16 output, int divisor, @Nullable @Nullable GrowArray<DogArray_I32> work) -
horizontal
public static void horizontal(Kernel1D_S32 kernel, InterleavedS16 input, InterleavedI16 output, int divisor) -
vertical
public static void vertical(Kernel1D_S32 kernel, InterleavedS16 input, InterleavedI16 output, int divisor) -
convolve
public static void convolve(Kernel2D_S32 kernel, InterleavedS16 input, InterleavedI16 output, int divisor) -
horizontal
-
vertical
public static void vertical(Kernel1D_S32 kernel, GrayU16 input, GrayI16 output, int divisor, @Nullable @Nullable GrowArray<DogArray_I32> work) -
convolve
public static void convolve(Kernel2D_S32 kernel, GrayU16 input, GrayI16 output, int divisor, @Nullable @Nullable GrowArray<DogArray_I32> work) -
horizontal
public static void horizontal(Kernel1D_S32 kernel, InterleavedU16 input, InterleavedI16 output, int divisor) -
vertical
public static void vertical(Kernel1D_S32 kernel, InterleavedU16 input, InterleavedI16 output, int divisor) -
convolve
public static void convolve(Kernel2D_S32 kernel, InterleavedU16 input, InterleavedI16 output, int divisor) -
vertical
public static void vertical(Kernel1D_S32 kernel, GrayS32 input, GrayI16 output, int divisor, @Nullable @Nullable GrowArray<DogArray_I32> work) -
vertical
public static void vertical(Kernel1D_S32 kernel, InterleavedS32 input, InterleavedI16 output, int divisor) -
horizontal
-
vertical
-
convolve
-
horizontal
-
vertical
-
convolve
-
horizontal
-
vertical
public static void vertical(Kernel1D_S32 kernel, GrayS32 input, GrayS32 output, int divisor, @Nullable @Nullable GrowArray<DogArray_I32> work) -
convolve
public static void convolve(Kernel2D_S32 kernel, GrayS32 input, GrayS32 output, int divisor, @Nullable @Nullable GrowArray<DogArray_I32> work) -
horizontal
public static void horizontal(Kernel1D_S32 kernel, InterleavedS32 input, InterleavedS32 output, int divisor) -
vertical
public static void vertical(Kernel1D_S32 kernel, InterleavedS32 input, InterleavedS32 output, int divisor) -
convolve
public static void convolve(Kernel2D_S32 kernel, InterleavedS32 input, InterleavedS32 output, int divisor)
-