Class FREAK


public class FREAK extends Feature2D
Class implementing the FREAK (*Fast Retina Keypoint*) keypoint descriptor, described in CITE: AOV12 . The algorithm propose a novel keypoint descriptor inspired by the human visual system and more precisely the retina, coined Fast Retina Key- point (FREAK). A cascade of binary strings is computed by efficiently comparing image intensities over a retinal sampling pattern. FREAKs are in general faster to compute with lower memory load and also more robust than SIFT, SURF or BRISK. They are competitive alternatives to existing keypoints in particular for embedded applications. Note:
  • An example on how to use the FREAK descriptor can be found at opencv_source_code/samples/cpp/freak_demo.cpp
  • Constructor Details

    • FREAK

      protected FREAK(long addr)
  • Method Details

    • __fromPtr__

      public static FREAK __fromPtr__(long addr)
    • create

      public static FREAK create(boolean orientationNormalized, boolean scaleNormalized, float patternScale, int nOctaves, MatOfInt selectedPairs)
      Parameters:
      orientationNormalized - Enable orientation normalization.
      scaleNormalized - Enable scale normalization.
      patternScale - Scaling of the description pattern.
      nOctaves - Number of octaves covered by the detected keypoints.
      selectedPairs - (Optional) user defined selected pairs indexes,
      Returns:
      automatically generated
    • create

      public static FREAK create(boolean orientationNormalized, boolean scaleNormalized, float patternScale, int nOctaves)
      Parameters:
      orientationNormalized - Enable orientation normalization.
      scaleNormalized - Enable scale normalization.
      patternScale - Scaling of the description pattern.
      nOctaves - Number of octaves covered by the detected keypoints.
      Returns:
      automatically generated
    • create

      public static FREAK create(boolean orientationNormalized, boolean scaleNormalized, float patternScale)
      Parameters:
      orientationNormalized - Enable orientation normalization.
      scaleNormalized - Enable scale normalization.
      patternScale - Scaling of the description pattern.
      Returns:
      automatically generated
    • create

      public static FREAK create(boolean orientationNormalized, boolean scaleNormalized)
      Parameters:
      orientationNormalized - Enable orientation normalization.
      scaleNormalized - Enable scale normalization.
      Returns:
      automatically generated
    • create

      public static FREAK create(boolean orientationNormalized)
      Parameters:
      orientationNormalized - Enable orientation normalization.
      Returns:
      automatically generated
    • create

      public static FREAK create()
      Returns:
      automatically generated
    • setOrientationNormalized

      public void setOrientationNormalized(boolean orientationNormalized)
    • getOrientationNormalized

      public boolean getOrientationNormalized()
    • setScaleNormalized

      public void setScaleNormalized(boolean scaleNormalized)
    • getScaleNormalized

      public boolean getScaleNormalized()
    • setPatternScale

      public void setPatternScale(double patternScale)
    • getPatternScale

      public double getPatternScale()
    • setNOctaves

      public void setNOctaves(int nOctaves)
    • getNOctaves

      public int getNOctaves()
    • getDefaultName

      public String getDefaultName()
      Description copied from class: Algorithm
      Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
      Overrides:
      getDefaultName in class Feature2D
      Returns:
      automatically generated
    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Feature2D
      Throws:
      Throwable