ShapeContextDistanceExtractorTraitConst

Trait ShapeContextDistanceExtractorTraitConst 

Source
pub trait ShapeContextDistanceExtractorTraitConst: ShapeDistanceExtractorTraitConst {
Show 14 methods // Required method fn as_raw_ShapeContextDistanceExtractor(&self) -> *const c_void; // Provided methods fn get_angular_bins(&self) -> Result<i32> { ... } fn get_radial_bins(&self) -> Result<i32> { ... } fn get_inner_radius(&self) -> Result<f32> { ... } fn get_outer_radius(&self) -> Result<f32> { ... } fn get_rotation_invariant(&self) -> Result<bool> { ... } fn get_shape_context_weight(&self) -> Result<f32> { ... } fn get_image_appearance_weight(&self) -> Result<f32> { ... } fn get_bending_energy_weight(&self) -> Result<f32> { ... } fn get_images( &self, image1: &mut impl ToOutputArray, image2: &mut impl ToOutputArray, ) -> Result<()> { ... } fn get_iterations(&self) -> Result<i32> { ... } fn get_cost_extractor(&self) -> Result<Ptr<HistogramCostExtractor>> { ... } fn get_std_dev(&self) -> Result<f32> { ... } fn get_transform_algorithm(&self) -> Result<Ptr<ShapeTransformer>> { ... }
}
Expand description

Required Methods§

Provided Methods§

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§