pub trait CUDA_ORBTrait: CUDA_Feature2DAsyncTrait + CUDA_ORBTraitConst {
// Required method
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<()> { ... }
fn set_blur_for_descriptor(
&mut self,
blur_for_descriptor: bool,
) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::cudafeatures2d::CUDA_ORB
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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.