Class ConvolveImageUnrolled_SB_S16_I16
java.lang.Object
boofcv.alg.filter.convolve.noborder.ConvolveImageUnrolled_SB_S16_I16
@Generated("boofcv.alg.filter.convolve.noborder.GenerateConvolvedUnrolled_SB")
public class ConvolveImageUnrolled_SB_S16_I16
extends Object
Unrolls the convolution kernel to reduce array accessing and save often used variables to the stack.
Unrolling the image being convolved resulting in an additional 10% performance boost on a Core i7 processor, see commented out code below. Due to the added complexity it was decided that this performance boost was not worth it. By comparison, unrolling the kernel causes a performance boost between 2 and 3 times.
DO NOT MODIFY. Automatically generated code created by GenerateConvolvedUnrolled_SB
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
convolve
(Kernel2D_S32 kernel, GrayS16 image, GrayI16 dest) static void
convolve11
(Kernel2D_S32 kernel, GrayS16 src, GrayI16 dest) static void
convolve3
(Kernel2D_S32 kernel, GrayS16 src, GrayI16 dest) static void
convolve5
(Kernel2D_S32 kernel, GrayS16 src, GrayI16 dest) static void
convolve7
(Kernel2D_S32 kernel, GrayS16 src, GrayI16 dest) static void
convolve9
(Kernel2D_S32 kernel, GrayS16 src, GrayI16 dest) static boolean
horizontal
(Kernel1D_S32 kernel, GrayS16 image, GrayI16 dest) static void
horizontal11
(Kernel1D_S32 kernel, GrayS16 image, GrayI16 dest) static void
horizontal3
(Kernel1D_S32 kernel, GrayS16 image, GrayI16 dest) static void
horizontal5
(Kernel1D_S32 kernel, GrayS16 image, GrayI16 dest) static void
horizontal7
(Kernel1D_S32 kernel, GrayS16 image, GrayI16 dest) static void
horizontal9
(Kernel1D_S32 kernel, GrayS16 image, GrayI16 dest) static boolean
vertical
(Kernel1D_S32 kernel, GrayS16 image, GrayI16 dest) static void
vertical11
(Kernel1D_S32 kernel, GrayS16 src, GrayI16 dst) static void
vertical3
(Kernel1D_S32 kernel, GrayS16 src, GrayI16 dst) static void
vertical5
(Kernel1D_S32 kernel, GrayS16 src, GrayI16 dst) static void
vertical7
(Kernel1D_S32 kernel, GrayS16 src, GrayI16 dst) static void
vertical9
(Kernel1D_S32 kernel, GrayS16 src, GrayI16 dst)
-
Constructor Details
-
ConvolveImageUnrolled_SB_S16_I16
public ConvolveImageUnrolled_SB_S16_I16()
-
-
Method Details
-
horizontal
-
vertical
-
convolve
-
horizontal3
-
horizontal5
-
horizontal7
-
horizontal9
-
horizontal11
-
vertical3
-
vertical5
-
vertical7
-
vertical9
-
vertical11
-
convolve3
-
convolve5
-
convolve7
-
convolve9
-
convolve11
-