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
Constant methods for crate::shape::ShapeContextDistanceExtractor
Required Methods§
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>>
Object Safety§
This trait is not object safe.