pub trait BinaryDescriptorTrait: AlgorithmTrait + BinaryDescriptorTraitConst {
    fn as_raw_mut_BinaryDescriptor(&mut self) -> *mut c_void;

    fn get_num_of_octaves(&mut self) -> Result<i32> { ... }
    fn set_num_of_octaves(&mut self, octaves: i32) -> Result<()> { ... }
    fn get_width_of_band(&mut self) -> Result<i32> { ... }
    fn set_width_of_band(&mut self, width: i32) -> Result<()> { ... }
    fn get_reduction_ratio(&mut self) -> Result<i32> { ... }
    fn set_reduction_ratio(&mut self, r_ratio: i32) -> Result<()> { ... }
    fn read(&mut self, fn_: &FileNode) -> Result<()> { ... }
    fn detect_1(
        &mut self,
        image: &Mat,
        keypoints: &mut Vector<KeyLine>,
        mask: &Mat
    ) -> Result<()> { ... } }

Required Methods§

Provided Methods§

Get current number of octaves

Set number of octaves

Parameters
  • octaves: number of octaves

Get current width of bands

Set width of bands

Parameters
  • width: width of bands

Get current reduction ratio (used in Gaussian pyramids)

Set reduction ratio (used in Gaussian pyramids)

Parameters
  • rRatio: reduction ratio

Read parameters from a FileNode object and store them

Parameters
  • fn: source FileNode file

Requires line detection

Parameters
  • image: input image
  • keypoints: vector that will store extracted lines for one or more images
  • mask: mask matrix to detect only KeyLines of interest
C++ default parameters
  • mask: Mat()

Implementors§