pub trait ShapeContextDistanceExtractorConst: ShapeDistanceExtractorConst {
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 dyn ToOutputArray,
image2: &mut dyn ToOutputArray
) -> Result<()> { ... }
fn get_iterations(&self) -> Result<i32> { ... }
fn get_cost_extractor(&self) -> Result<Ptr<dyn HistogramCostExtractor>> { ... }
fn get_std_dev(&self) -> Result<f32> { ... }
fn get_transform_algorithm(&self) -> Result<Ptr<dyn ShapeTransformer>> { ... }
}
Expand description
Constant methods for crate::shape::ShapeContextDistanceExtractor