[−][src]Struct opencv::features2d::BRISK
Class implementing the BRISK keypoint detector and descriptor extractor, described in LCS11 .
Implementations
impl BRISK
[src]
pub fn as_raw_BRISK(&self) -> *const c_void
[src]
pub fn as_raw_mut_BRISK(&mut self) -> *mut c_void
[src]
impl BRISK
[src]
pub fn create(
thresh: i32,
octaves: i32,
pattern_scale: f32
) -> Result<Ptr<BRISK>>
[src]
thresh: i32,
octaves: i32,
pattern_scale: f32
) -> Result<Ptr<BRISK>>
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.
C++ default parameters
- thresh: 30
- octaves: 3
- pattern_scale: 1.0f
pub fn create_with_pattern(
radius_list: &Vector<f32>,
number_list: &Vector<i32>,
d_max: f32,
d_min: f32,
index_change: &Vector<i32>
) -> Result<Ptr<BRISK>>
[src]
radius_list: &Vector<f32>,
number_list: &Vector<i32>,
d_max: f32,
d_min: f32,
index_change: &Vector<i32>
) -> Result<Ptr<BRISK>>
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.
C++ default parameters
- d_max: 5.85f
- d_min: 8.2f
- index_change: std::vector
()
pub fn create_with_pattern_threshold_octaves(
thresh: i32,
octaves: i32,
radius_list: &Vector<f32>,
number_list: &Vector<i32>,
d_max: f32,
d_min: f32,
index_change: &Vector<i32>
) -> Result<Ptr<BRISK>>
[src]
thresh: i32,
octaves: i32,
radius_list: &Vector<f32>,
number_list: &Vector<i32>,
d_max: f32,
d_min: f32,
index_change: &Vector<i32>
) -> Result<Ptr<BRISK>>
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.
C++ default parameters
- d_max: 5.85f
- d_min: 8.2f
- index_change: std::vector
()
Trait Implementations
impl AlgorithmTrait for BRISK
[src]
pub fn as_raw_Algorithm(&self) -> *const c_void
[src]
pub fn as_raw_mut_Algorithm(&mut self) -> *mut c_void
[src]
pub fn clear(&mut self) -> Result<()>
[src]
pub fn write(&self, fs: &mut FileStorage) -> Result<()>
[src]
pub fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
[src]
pub fn read(&mut self, fn_: &FileNode) -> Result<()>
[src]
pub fn empty(&self) -> Result<bool>
[src]
pub fn save(&self, filename: &str) -> Result<()>
[src]
pub fn get_default_name(&self) -> Result<String>
[src]
impl BRISKTrait for BRISK
[src]
pub fn as_raw_BRISK(&self) -> *const c_void
[src]
pub fn as_raw_mut_BRISK(&mut self) -> *mut c_void
[src]
pub fn get_default_name(&self) -> Result<String>
[src]
pub fn set_threshold(&mut self, threshold: i32) -> Result<()>
[src]
pub fn get_threshold(&self) -> Result<i32>
[src]
pub fn set_octaves(&mut self, octaves: i32) -> Result<()>
[src]
pub fn get_octaves(&self) -> Result<i32>
[src]
impl Boxed for BRISK
[src]
pub unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
pub fn into_raw(self) -> *mut c_void
[src]
pub fn as_raw(&self) -> *const c_void
[src]
pub fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for BRISK
[src]
impl Feature2DTrait for BRISK
[src]
pub fn as_raw_Feature2D(&self) -> *const c_void
[src]
pub fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
[src]
pub 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<()>
pub 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<()>
pub 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<()>
pub 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<()>
pub 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<()>
pub fn descriptor_size(&self) -> Result<i32>
[src]
pub fn descriptor_type(&self) -> Result<i32>
[src]
pub fn default_norm(&self) -> Result<i32>
[src]
pub fn write(&self, file_name: &str) -> Result<()>
[src]
pub fn read(&mut self, file_name: &str) -> Result<()>
[src]
pub fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
[src]
pub fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
[src]
pub fn empty(&self) -> Result<bool>
[src]
pub fn get_default_name(&self) -> Result<String>
[src]
pub fn write_2(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
[src]
impl Send for BRISK
[src]
Auto Trait Implementations
impl RefUnwindSafe for BRISK
[src]
impl !Sync for BRISK
[src]
impl Unpin for BRISK
[src]
impl UnwindSafe for BRISK
[src]
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>,