FREAK

Objective-C

@interface FREAK : Feature2D

Swift

class FREAK : 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

Member of Xfeatures2d

Methods

  • Declaration

    Objective-C

    + (nonnull FREAK *)create:(BOOL)orientationNormalized
              scaleNormalized:(BOOL)scaleNormalized
                 patternScale:(float)patternScale
                     nOctaves:(int)nOctaves
                selectedPairs:(nonnull IntVector *)selectedPairs;

    Swift

    class func create(orientationNormalized: Bool, scaleNormalized: Bool, patternScale: Float, nOctaves: Int32, selectedPairs: IntVector) -> FREAK

    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,

  • Declaration

    Objective-C

    + (nonnull FREAK *)create:(BOOL)orientationNormalized
              scaleNormalized:(BOOL)scaleNormalized
                 patternScale:(float)patternScale
                     nOctaves:(int)nOctaves;

    Swift

    class func create(orientationNormalized: Bool, scaleNormalized: Bool, patternScale: Float, nOctaves: Int32) -> FREAK

    Parameters

    orientationNormalized

    Enable orientation normalization.

    scaleNormalized

    Enable scale normalization.

    patternScale

    Scaling of the description pattern.

    nOctaves

    Number of octaves covered by the detected keypoints.

  • Declaration

    Objective-C

    + (nonnull FREAK *)create:(BOOL)orientationNormalized
              scaleNormalized:(BOOL)scaleNormalized
                 patternScale:(float)patternScale;

    Swift

    class func create(orientationNormalized: Bool, scaleNormalized: Bool, patternScale: Float) -> FREAK

    Parameters

    orientationNormalized

    Enable orientation normalization.

    scaleNormalized

    Enable scale normalization.

    patternScale

    Scaling of the description pattern.

  • Declaration

    Objective-C

    + (nonnull FREAK *)create:(BOOL)orientationNormalized
              scaleNormalized:(BOOL)scaleNormalized;

    Swift

    class func create(orientationNormalized: Bool, scaleNormalized: Bool) -> FREAK

    Parameters

    orientationNormalized

    Enable orientation normalization.

    scaleNormalized

    Enable scale normalization.

  • Declaration

    Objective-C

    + (nonnull FREAK *)create:(BOOL)orientationNormalized;

    Swift

    class func create(orientationNormalized: Bool) -> FREAK

    Parameters

    orientationNormalized

    Enable orientation normalization.

  • Declaration

    Objective-C

    + (nonnull FREAK *)create;

    Swift

    class func create() -> FREAK