pub trait CUDA_ORB: CUDA_Feature2DAsync + CUDA_ORBConst {
fn as_raw_mut_CUDA_ORB(&mut self) -> *mut c_void;
fn set_max_features(&mut self, max_features: i32) -> Result<()> { ... }
fn set_scale_factor(&mut self, scale_factor: f64) -> Result<()> { ... }
fn set_n_levels(&mut self, nlevels: i32) -> Result<()> { ... }
fn set_edge_threshold(&mut self, edge_threshold: i32) -> Result<()> { ... }
fn set_first_level(&mut self, first_level: i32) -> Result<()> { ... }
fn set_wta_k(&mut self, wta_k: i32) -> Result<()> { ... }
fn set_score_type(&mut self, score_type: i32) -> Result<()> { ... }
fn set_patch_size(&mut self, patch_size: i32) -> Result<()> { ... }
fn set_fast_threshold(&mut self, fast_threshold: i32) -> Result<()> { ... }
fn set_blur_for_descriptor(
&mut self,
blur_for_descriptor: bool
) -> Result<()> { ... }
}Required Methods
fn as_raw_mut_CUDA_ORB(&mut self) -> *mut c_void
Provided Methods
fn set_max_features(&mut self, max_features: i32) -> Result<()>
fn set_scale_factor(&mut self, scale_factor: f64) -> Result<()>
fn set_n_levels(&mut self, nlevels: i32) -> Result<()>
fn set_edge_threshold(&mut self, edge_threshold: i32) -> Result<()>
fn set_first_level(&mut self, first_level: i32) -> Result<()>
fn set_wta_k(&mut self, wta_k: i32) -> Result<()>
fn set_score_type(&mut self, score_type: i32) -> Result<()>
fn set_patch_size(&mut self, patch_size: i32) -> Result<()>
fn set_fast_threshold(&mut self, fast_threshold: i32) -> Result<()>
sourcefn set_blur_for_descriptor(&mut self, blur_for_descriptor: bool) -> Result<()>
fn set_blur_for_descriptor(&mut self, blur_for_descriptor: bool) -> Result<()>
if true, image will be blurred before descriptors calculation
Implementations
sourceimpl dyn CUDA_ORB + '_
impl dyn CUDA_ORB + '_
pub const X_ROW: i32 = 0i32
pub const Y_ROW: i32 = 1i32
pub const RESPONSE_ROW: i32 = 2i32
pub const ANGLE_ROW: i32 = 3i32
pub const OCTAVE_ROW: i32 = 4i32
pub const SIZE_ROW: i32 = 5i32
pub const ROWS_COUNT: i32 = 6i32
sourcepub fn create(
nfeatures: i32,
scale_factor: f32,
nlevels: i32,
edge_threshold: i32,
first_level: i32,
wta_k: i32,
score_type: i32,
patch_size: i32,
fast_threshold: i32,
blur_for_descriptor: bool
) -> Result<Ptr<dyn CUDA_ORB>>
pub fn create(
nfeatures: i32,
scale_factor: f32,
nlevels: i32,
edge_threshold: i32,
first_level: i32,
wta_k: i32,
score_type: i32,
patch_size: i32,
fast_threshold: i32,
blur_for_descriptor: bool
) -> Result<Ptr<dyn CUDA_ORB>>
C++ default parameters
- nfeatures: 500
- scale_factor: 1.2f
- nlevels: 8
- edge_threshold: 31
- first_level: 0
- wta_k: 2
- score_type: cv::ORB::HARRIS_SCORE
- patch_size: 31
- fast_threshold: 20
- blur_for_descriptor: false