Class BRISK


public class BRISK
extends Feature2D
Class implementing the BRISK keypoint detector and descriptor extractor, described in CITE: LCS11 .
  • Constructor Details

  • Method Details

    • __fromPtr__

      public static BRISK __fromPtr__​(long addr)
    • create

      public static BRISK create​(int thresh, int octaves, float patternScale)
      The BRISK constructor
      Parameters:
      thresh - AGAST detection threshold score.
      octaves - detection octaves. Use 0 to do single scale.
      patternScale - apply this scale to the pattern used for sampling the neighbourhood of a keypoint.
      Returns:
      automatically generated
    • create

      public static BRISK create​(int thresh, int octaves)
      The BRISK constructor
      Parameters:
      thresh - AGAST detection threshold score.
      octaves - detection octaves. Use 0 to do single scale. keypoint.
      Returns:
      automatically generated
    • create

      public static BRISK create​(int thresh)
      The BRISK constructor
      Parameters:
      thresh - AGAST detection threshold score. keypoint.
      Returns:
      automatically generated
    • create

      public static BRISK create()
      The BRISK constructor keypoint.
      Returns:
      automatically generated
    • create

      public static BRISK create​(MatOfFloat radiusList, MatOfInt numberList, float dMax, float dMin, MatOfInt indexChange)
      The BRISK constructor for a custom pattern
      Parameters:
      radiusList - defines the radii (in pixels) where the samples around a keypoint are taken (for keypoint scale 1).
      numberList - defines the number of sampling points on the sampling circle. Must be the same size as radiusList..
      dMax - threshold for the short pairings used for descriptor formation (in pixels for keypoint scale 1).
      dMin - threshold for the long pairings used for orientation determination (in pixels for keypoint scale 1).
      indexChange - index remapping of the bits.
      Returns:
      automatically generated
    • create

      public static BRISK create​(MatOfFloat radiusList, MatOfInt numberList, float dMax, float dMin)
      The BRISK constructor for a custom pattern
      Parameters:
      radiusList - defines the radii (in pixels) where the samples around a keypoint are taken (for keypoint scale 1).
      numberList - defines the number of sampling points on the sampling circle. Must be the same size as radiusList..
      dMax - threshold for the short pairings used for descriptor formation (in pixels for keypoint scale 1).
      dMin - threshold for the long pairings used for orientation determination (in pixels for keypoint scale 1).
      Returns:
      automatically generated
    • create

      public static BRISK create​(MatOfFloat radiusList, MatOfInt numberList, float dMax)
      The BRISK constructor for a custom pattern
      Parameters:
      radiusList - defines the radii (in pixels) where the samples around a keypoint are taken (for keypoint scale 1).
      numberList - defines the number of sampling points on the sampling circle. Must be the same size as radiusList..
      dMax - threshold for the short pairings used for descriptor formation (in pixels for keypoint scale 1). keypoint scale 1).
      Returns:
      automatically generated
    • create

      public static BRISK create​(MatOfFloat radiusList, MatOfInt numberList)
      The BRISK constructor for a custom pattern
      Parameters:
      radiusList - defines the radii (in pixels) where the samples around a keypoint are taken (for keypoint scale 1).
      numberList - defines the number of sampling points on the sampling circle. Must be the same size as radiusList.. scale 1). keypoint scale 1).
      Returns:
      automatically generated
    • create

      public static BRISK create​(int thresh, int octaves, MatOfFloat radiusList, MatOfInt numberList, float dMax, float dMin, MatOfInt indexChange)
      The BRISK constructor for a custom pattern, detection threshold and octaves
      Parameters:
      thresh - AGAST detection threshold score.
      octaves - detection octaves. Use 0 to do single scale.
      radiusList - defines the radii (in pixels) where the samples around a keypoint are taken (for keypoint scale 1).
      numberList - defines the number of sampling points on the sampling circle. Must be the same size as radiusList..
      dMax - threshold for the short pairings used for descriptor formation (in pixels for keypoint scale 1).
      dMin - threshold for the long pairings used for orientation determination (in pixels for keypoint scale 1).
      indexChange - index remapping of the bits.
      Returns:
      automatically generated
    • create

      public static BRISK create​(int thresh, int octaves, MatOfFloat radiusList, MatOfInt numberList, float dMax, float dMin)
      The BRISK constructor for a custom pattern, detection threshold and octaves
      Parameters:
      thresh - AGAST detection threshold score.
      octaves - detection octaves. Use 0 to do single scale.
      radiusList - defines the radii (in pixels) where the samples around a keypoint are taken (for keypoint scale 1).
      numberList - defines the number of sampling points on the sampling circle. Must be the same size as radiusList..
      dMax - threshold for the short pairings used for descriptor formation (in pixels for keypoint scale 1).
      dMin - threshold for the long pairings used for orientation determination (in pixels for keypoint scale 1).
      Returns:
      automatically generated
    • create

      public static BRISK create​(int thresh, int octaves, MatOfFloat radiusList, MatOfInt numberList, float dMax)
      The BRISK constructor for a custom pattern, detection threshold and octaves
      Parameters:
      thresh - AGAST detection threshold score.
      octaves - detection octaves. Use 0 to do single scale.
      radiusList - defines the radii (in pixels) where the samples around a keypoint are taken (for keypoint scale 1).
      numberList - defines the number of sampling points on the sampling circle. Must be the same size as radiusList..
      dMax - threshold for the short pairings used for descriptor formation (in pixels for keypoint scale 1). keypoint scale 1).
      Returns:
      automatically generated
    • create

      public static BRISK create​(int thresh, int octaves, MatOfFloat radiusList, MatOfInt numberList)
      The BRISK constructor for a custom pattern, detection threshold and octaves
      Parameters:
      thresh - AGAST detection threshold score.
      octaves - detection octaves. Use 0 to do single scale.
      radiusList - defines the radii (in pixels) where the samples around a keypoint are taken (for keypoint scale 1).
      numberList - defines the number of sampling points on the sampling circle. Must be the same size as radiusList.. scale 1). keypoint scale 1).
      Returns:
      automatically generated
    • 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
    • setThreshold

      public void setThreshold​(int threshold)
      Set detection threshold.
      Parameters:
      threshold - AGAST detection threshold score.
    • getThreshold

      public int getThreshold()
    • setOctaves

      public void setOctaves​(int octaves)
      Set detection octaves.
      Parameters:
      octaves - detection octaves. Use 0 to do single scale.
    • getOctaves

      public int getOctaves()
    • finalize

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