Package boofcv.alg.feature.describe.impl
Class ImplSurfDescribeOps
java.lang.Object
boofcv.alg.feature.describe.impl.ImplSurfDescribeOps
Design Note:
When estimating the
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
gradientInner
(GrayF32 ii, double tl_x, double tl_y, double samplePeriod, int regionSize, double kernelSize, float[] derivX, float[] derivY) Computes the gradient for a using the derivX kernel found inDerivativeIntegralImage
.static void
gradientInner
(GrayS32 ii, double tl_x, double tl_y, double samplePeriod, int regionSize, double kernelSize, int[] derivX, int[] derivY) Computes the gradient for a using the derivX kernel found inDerivativeIntegralImage
.static <T extends ImageGray<T>>
voidnaiveGradient
(T ii, double tl_x, double tl_y, double samplePeriod, int regionSize, double kernelSize, boolean useHaar, double[] derivX, double[] derivY) Simple algorithm for computing the gradient of a region.
-
Constructor Details
-
ImplSurfDescribeOps
public ImplSurfDescribeOps()
-
-
Method Details
-
gradientInner
public static void gradientInner(GrayF32 ii, double tl_x, double tl_y, double samplePeriod, int regionSize, double kernelSize, float[] derivX, float[] derivY) Computes the gradient for a using the derivX kernel found inDerivativeIntegralImage
. Assumes that the entire region, including the surrounding pixels, are inside the image. -
gradientInner
public static void gradientInner(GrayS32 ii, double tl_x, double tl_y, double samplePeriod, int regionSize, double kernelSize, int[] derivX, int[] derivY) Computes the gradient for a using the derivX kernel found inDerivativeIntegralImage
. Assumes that the entire region, including the surrounding pixels, are inside the image. -
naiveGradient
public static <T extends ImageGray<T>> void naiveGradient(T ii, double tl_x, double tl_y, double samplePeriod, int regionSize, double kernelSize, boolean useHaar, double[] derivX, double[] derivY) Simple algorithm for computing the gradient of a region. Can handle image borders
-