BinaryDescriptor_ParamsTrait

Trait BinaryDescriptor_ParamsTrait 

Source
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

Required Methods§

Provided Methods§

Source

fn set_num_of_octave_(&mut self, val: i32)

the number of image octaves (default = 1)

Source

fn set_width_of_band_(&mut self, val: i32)

the width of band; (default: 7)

Source

fn set_reduction_ratio(&mut self, val: i32)

image’s reduction ratio in construction of Gaussian pyramids

Source

fn set_ksize_(&mut self, val: i32)

Source

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.

Implementors§