pub trait ShapeContextDistanceExtractorConst: ShapeDistanceExtractorConst {
Show 14 methods
fn as_raw_ShapeContextDistanceExtractor(&self) -> *const c_void;
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
/ / Implementation of the Shape Context descriptor and matching algorithm
proposed by Belongie et al. in “Shape Matching and Object Recognition Using Shape Contexts” (PAMI 2002). This implementation is packaged in a generic scheme, in order to allow you the implementation of the common variations of the original pipeline.