pub trait BEBLID: Feature2DTrait + BEBLIDConst {
fn as_raw_mut_BEBLID(&mut self) -> *mut c_void;
fn set_scale_factor(&mut self, scale_factor: f32) -> Result<()> { ... }
}Required Methods§
fn as_raw_mut_BEBLID(&mut self) -> *mut c_void
Provided Methods§
fn set_scale_factor(&mut self, scale_factor: f32) -> Result<()>
Implementations§
source§impl dyn BEBLID + '_
impl dyn BEBLID + '_
sourcepub fn create(scale_factor: f32, n_bits: i32) -> Result<Ptr<dyn BEBLID>>
pub fn create(scale_factor: f32, n_bits: i32) -> Result<Ptr<dyn BEBLID>>
Creates the BEBLID descriptor.
Parameters
- scale_factor: Adjust the sampling window around detected keypoints:
- 1.00f should be the scale for ORB keypoints
- 6.75f should be the scale for SIFT detected keypoints
- 6.25f is default and fits for KAZE, SURF detected keypoints
- 5.00f should be the scale for AKAZE, MSD, AGAST, FAST, BRISK keypoints
- n_bits: Determine the number of bits in the descriptor. Should be either BEBLID::SIZE_512_BITS or BEBLID::SIZE_256_BITS.
C++ default parameters
- n_bits: BEBLID::SIZE_512_BITS