[][src]Struct opencv::xfeatures2d::FREAK

pub struct FREAK { /* fields omitted */ }

Class implementing the FREAK (Fast Retina Keypoint) keypoint descriptor, described in 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

Methods

impl FREAK[src]

pub fn as_raw_FREAK(&self) -> *mut c_void[src]

pub unsafe fn from_raw_ptr(ptr: *mut c_void) -> Self[src]

impl FREAK[src]

pub fn create(
    orientation_normalized: bool,
    scale_normalized: bool,
    pattern_scale: f32,
    n_octaves: i32,
    selected_pairs: &VectorOfint
) -> Result<PtrOfFREAK>
[src]

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,

C++ default parameters

  • orientation_normalized: true
  • scale_normalized: true
  • pattern_scale: 22.0f
  • n_octaves: 4
  • selected_pairs: std::vector()

Trait Implementations

impl AlgorithmTrait for FREAK[src]

impl Drop for FREAK[src]

impl Send for FREAK[src]

Auto Trait Implementations

impl RefUnwindSafe for FREAK

impl !Sync for FREAK

impl Unpin for FREAK

impl UnwindSafe for FREAK

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.