Type Definition opencv::types::PtrOfShapeContextDistanceExtractor[][src]

pub type PtrOfShapeContextDistanceExtractor = Ptr<dyn ShapeContextDistanceExtractor>;

Implementations

Trait Implementations

Clears the algorithm state

Reads algorithm parameters from a file storage

Stores algorithm parameters in a file storage

simplified API for language bindings Stores algorithm parameters in a file storage Read more

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs). Read more

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string. Read more

Establish the number of angular bins for the Shape Context Descriptor used in the shape matching pipeline. Read more

Establish the number of radial bins for the Shape Context Descriptor used in the shape matching pipeline. Read more

Set the inner radius of the shape context descriptor. Read more

Set the outer radius of the shape context descriptor. Read more

Set the weight of the shape context distance in the final value of the shape distance. The shape context distance between two shapes is defined as the symmetric sum of shape context matching costs over best matching points. The final value of the shape distance is a user-defined linear combination of the shape context distance, an image appearance distance, and a bending energy. Read more

Set the weight of the Image Appearance cost in the final value of the shape distance. The image appearance cost is defined as the sum of squared brightness differences in Gaussian windows around corresponding image points. The final value of the shape distance is a user-defined linear combination of the shape context distance, an image appearance distance, and a bending energy. If this value is set to a number different from 0, is mandatory to set the images that correspond to each shape. Read more

Set the weight of the Bending Energy in the final value of the shape distance. The bending energy definition depends on what transformation is being used to align the shapes. The final value of the shape distance is a user-defined linear combination of the shape context distance, an image appearance distance, and a bending energy. Read more

Set the images that correspond to each shape. This images are used in the calculation of the Image Appearance cost. Read more

Set the algorithm used for building the shape context descriptor cost matrix. Read more

Set the value of the standard deviation for the Gaussian window for the image appearance cost. Read more

Set the algorithm used for aligning the shapes. Read more

Compute the shape distance between two shapes defined by its contours. Read more