Class GradientSobel_Outer
java.lang.Object
boofcv.alg.filter.derivative.impl.GradientSobel_Outer
While not as fast as GradientSobel
it a big improvement over GradientSobel_Naive
and much
more readable. The general idea is that the outer diagonal elements are both read by the horizontal
and vertical operations. This can be taken advantage of with some simple arithmetic to reduce the number
of floating point operations and matrix reads and writes.
This code is being saved to avoid repeating past work and make it easier to understand other implementations.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Computes derivative of GrayF32.static void
Computes derivative of GrayU8.static void
process_sub
(GrayS16 orig, GrayS16 derivX, GrayS16 derivY) static void
process_sub
(GrayU8 orig, GrayS16 derivX, GrayS16 derivY) Computes derivative of GrayU8.
-
Constructor Details
-
GradientSobel_Outer
public GradientSobel_Outer()
-
-
Method Details
-
process
Computes derivative of GrayU8. None of the images can be sub-images. -
process_sub
Computes derivative of GrayU8. Inputs can be sub-images. -
process_sub
-
process
Computes derivative of GrayF32. None of the images can be sub-images.
-