Class HessianThreeDeterminant

java.lang.Object
boofcv.alg.filter.derivative.HessianThreeDeterminant

public class HessianThreeDeterminant extends Object

Computes the determinant of a Hessian computed by differentiating using [-1 0 1] kernel.
f(x,y) = Lxx*Lyy - Lxy2
The Lxx and Lyy have a kernel of [1 0 -2 0 1] and Lxy is:

       [  1   0  -1 ]
 Lxy = [  0   0   0 ]
       [ -1   0   1 ]
 
  • Constructor Details

    • HessianThreeDeterminant

      public HessianThreeDeterminant()
  • Method Details

    • process

      public static void process(GrayU8 orig, GrayS16 deriv, @Nullable @Nullable ImageBorder_S32<GrayU8> border)
      Computes the Laplacian of input image.
      Parameters:
      orig - Input image. Not modified.
      deriv - Where the Laplacian is written to. Modified.
    • process

      public static void process(GrayU8 orig, GrayF32 deriv, @Nullable @Nullable ImageBorder_S32<GrayU8> border)
      Computes Laplacian on an U8 image but outputs derivative in a F32 image. Removes a step when processing images for feature detection
    • process

      public static void process(GrayF32 orig, GrayF32 deriv, @Nullable @Nullable ImageBorder_F32 border)
      Computes the Laplacian of 'orig'.
      Parameters:
      orig - Input image. Not modified.
      deriv - Where the Laplacian is written to. Modified.