pub trait BinaryDescriptor_ParamsTrait: BinaryDescriptor_ParamsTraitConst {
// Required method
fn as_raw_mut_BinaryDescriptor_Params(&mut self) -> *mut c_void;
// Provided methods
fn set_num_of_octave_(&mut self, val: i32) { ... }
fn set_width_of_band_(&mut self, val: i32) { ... }
fn set_reduction_ratio(&mut self, val: i32) { ... }
fn set_ksize_(&mut self, val: i32) { ... }
fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::line_descriptor::BinaryDescriptor_Params
Required Methods§
fn as_raw_mut_BinaryDescriptor_Params(&mut self) -> *mut c_void
Provided Methods§
Sourcefn set_num_of_octave_(&mut self, val: i32)
fn set_num_of_octave_(&mut self, val: i32)
the number of image octaves (default = 1)
Sourcefn set_width_of_band_(&mut self, val: i32)
fn set_width_of_band_(&mut self, val: i32)
the width of band; (default: 7)
Sourcefn set_reduction_ratio(&mut self, val: i32)
fn set_reduction_ratio(&mut self, val: i32)
image’s reduction ratio in construction of Gaussian pyramids
fn set_ksize_(&mut self, val: i32)
Sourcefn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>
fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>
read parameters from a FileNode object and store them (struct function)
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.