Class HessianThreeDeterminant


  • public class HessianThreeDeterminant
    extends java.lang.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 ]
     
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void process​(boofcv.struct.image.GrayF32 orig, boofcv.struct.image.GrayF32 deriv, boofcv.struct.border.ImageBorder_F32 border)
      Computes the Laplacian of 'orig'.
      static void process​(boofcv.struct.image.GrayU8 orig, boofcv.struct.image.GrayF32 deriv, boofcv.struct.border.ImageBorder_S32<boofcv.struct.image.GrayU8> border)
      Computes Laplacian on an U8 image but outputs derivative in a F32 image.
      static void process​(boofcv.struct.image.GrayU8 orig, boofcv.struct.image.GrayS16 deriv, boofcv.struct.border.ImageBorder_S32<boofcv.struct.image.GrayU8> border)
      Computes the Laplacian of input image.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HessianThreeDeterminant

        public HessianThreeDeterminant()
    • Method Detail

      • process

        public static void process​(boofcv.struct.image.GrayU8 orig,
                                   boofcv.struct.image.GrayS16 deriv,
                                   @Nullable
                                   boofcv.struct.border.ImageBorder_S32<boofcv.struct.image.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​(boofcv.struct.image.GrayU8 orig,
                                   boofcv.struct.image.GrayF32 deriv,
                                   @Nullable
                                   boofcv.struct.border.ImageBorder_S32<boofcv.struct.image.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​(boofcv.struct.image.GrayF32 orig,
                                   boofcv.struct.image.GrayF32 deriv,
                                   @Nullable
                                   boofcv.struct.border.ImageBorder_F32 border)
        Computes the Laplacian of 'orig'.
        Parameters:
        orig - Input image. Not modified.
        deriv - Where the Laplacian is written to. Modified.