[−][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
Implementations
impl FREAK
[src]
pub fn as_raw_FREAK(&self) -> *const c_void
[src]
pub fn as_raw_mut_FREAK(&mut self) -> *mut c_void
[src]
impl FREAK
[src]
pub const NB_SCALES: i32
[src]
pub const NB_PAIRS: i32
[src]
pub const NB_ORIENPAIRS: i32
[src]
pub fn create(
orientation_normalized: bool,
scale_normalized: bool,
pattern_scale: f32,
n_octaves: i32,
selected_pairs: &Vector<i32>
) -> Result<Ptr<FREAK>>
[src]
orientation_normalized: bool,
scale_normalized: bool,
pattern_scale: f32,
n_octaves: i32,
selected_pairs: &Vector<i32>
) -> Result<Ptr<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,
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) -> *const c_void
[src]
fn as_raw_mut_Algorithm(&mut self) -> *mut c_void
[src]
fn clear(&mut self) -> Result<()>
[src]
fn write(&self, fs: &mut FileStorage) -> Result<()>
[src]
fn write_with_name(&self, fs: &Ptr<FileStorage>, 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 Boxed for FREAK
[src]
unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
fn into_raw(self) -> *mut c_void
[src]
fn as_raw(&self) -> *const c_void
[src]
fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for FREAK
[src]
impl FREAKTrait for FREAK
[src]
fn as_raw_FREAK(&self) -> *const c_void
[src]
fn as_raw_mut_FREAK(&mut self) -> *mut c_void
[src]
impl Feature2DTrait for FREAK
[src]
fn as_raw_Feature2D(&self) -> *const c_void
[src]
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
[src]
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
[src]
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
[src]
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
[src]
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
[src]
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
[src]
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn descriptor_size(&self) -> Result<i32>
[src]
fn descriptor_type(&self) -> Result<i32>
[src]
fn default_norm(&self) -> Result<i32>
[src]
fn write(&self, file_name: &str) -> Result<()>
[src]
fn read(&mut self, file_name: &str) -> Result<()>
[src]
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
[src]
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
[src]
fn empty(&self) -> Result<bool>
[src]
fn get_default_name(&self) -> Result<String>
[src]
fn write_2(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
[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,
pub 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.
pub 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>,