[−][src]Struct opencv::xfeatures2d::FREAK
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]
orientation_normalized: bool,
scale_normalized: bool,
pattern_scale: f32,
n_octaves: i32,
selected_pairs: &VectorOfint
) -> Result<PtrOfFREAK>
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]
fn as_raw_Algorithm(&self) -> *mut c_void
[src]
fn clear(&mut self) -> Result<()>
[src]
fn write(&self, fs: &mut FileStorage) -> Result<()>
[src]
fn write_1(&self, fs: &PtrOfFileStorage, name: &str) -> Result<()>
[src]
fn read(&mut self, _fn: &FileNode) -> Result<()>
[src]
fn empty(&self) -> Result<bool>
[src]
fn save(&self, filename: &str) -> Result<()>
[src]
fn get_default_name(&self) -> Result<String>
[src]
impl Drop for FREAK
[src]
impl Send for FREAK
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,