Class GradientSobel_Outer
- java.lang.Object
-
- boofcv.alg.filter.derivative.impl.GradientSobel_Outer
-
public class GradientSobel_Outer extends java.lang.ObjectWhile not as fast as
GradientSobelit a big improvement overGradientSobel_Naiveand 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:
GradientSobel
-
-
Constructor Summary
Constructors Constructor Description GradientSobel_Outer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidprocess(boofcv.struct.image.GrayF32 orig, boofcv.struct.image.GrayF32 derivX, boofcv.struct.image.GrayF32 derivY)Computes derivative of GrayF32.static voidprocess(boofcv.struct.image.GrayU8 orig, boofcv.struct.image.GrayS16 derivX, boofcv.struct.image.GrayS16 derivY)Computes derivative of GrayU8.static voidprocess_sub(boofcv.struct.image.GrayS16 orig, boofcv.struct.image.GrayS16 derivX, boofcv.struct.image.GrayS16 derivY)static voidprocess_sub(boofcv.struct.image.GrayU8 orig, boofcv.struct.image.GrayS16 derivX, boofcv.struct.image.GrayS16 derivY)Computes derivative of GrayU8.
-
-
-
Method Detail
-
process
public static void process(boofcv.struct.image.GrayU8 orig, boofcv.struct.image.GrayS16 derivX, boofcv.struct.image.GrayS16 derivY)Computes derivative of GrayU8. None of the images can be sub-images.
-
process_sub
public static void process_sub(boofcv.struct.image.GrayU8 orig, boofcv.struct.image.GrayS16 derivX, boofcv.struct.image.GrayS16 derivY)Computes derivative of GrayU8. Inputs can be sub-images.
-
process_sub
public static void process_sub(boofcv.struct.image.GrayS16 orig, boofcv.struct.image.GrayS16 derivX, boofcv.struct.image.GrayS16 derivY)
-
process
public static void process(boofcv.struct.image.GrayF32 orig, boofcv.struct.image.GrayF32 derivX, boofcv.struct.image.GrayF32 derivY)Computes derivative of GrayF32. None of the images can be sub-images.
-
-