Trait opencv::prelude::BinaryDescriptorTrait
source · 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§
fn as_raw_mut_BinaryDescriptor(&mut self) -> *mut c_void
Provided Methods§
sourcefn get_num_of_octaves(&mut self) -> Result<i32>
fn get_num_of_octaves(&mut self) -> Result<i32>
Get current number of octaves
sourcefn set_num_of_octaves(&mut self, octaves: i32) -> Result<()>
fn set_num_of_octaves(&mut self, octaves: i32) -> Result<()>
sourcefn get_width_of_band(&mut self) -> Result<i32>
fn get_width_of_band(&mut self) -> Result<i32>
Get current width of bands
sourcefn set_width_of_band(&mut self, width: i32) -> Result<()>
fn set_width_of_band(&mut self, width: i32) -> Result<()>
sourcefn get_reduction_ratio(&mut self) -> Result<i32>
fn get_reduction_ratio(&mut self) -> Result<i32>
Get current reduction ratio (used in Gaussian pyramids)
sourcefn set_reduction_ratio(&mut self, r_ratio: i32) -> Result<()>
fn set_reduction_ratio(&mut self, r_ratio: i32) -> Result<()>
sourcefn detect_1(
&mut self,
image: &Mat,
keypoints: &mut Vector<KeyLine>,
mask: &Mat
) -> Result<()>
fn detect_1(
&mut self,
image: &Mat,
keypoints: &mut Vector<KeyLine>,
mask: &Mat
) -> Result<()>
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()