|
virtual CV_WRAP void | setAngularBins (int nAngularBins)=0 |
| Establish the number of angular bins for the Shape Context Descriptor used in the shape matching pipeline. [詳解]
|
|
virtual CV_WRAP int | getAngularBins () const =0 |
|
virtual CV_WRAP void | setRadialBins (int nRadialBins)=0 |
| Establish the number of radial bins for the Shape Context Descriptor used in the shape matching pipeline. [詳解]
|
|
virtual CV_WRAP int | getRadialBins () const =0 |
|
virtual CV_WRAP void | setInnerRadius (float innerRadius)=0 |
| Set the inner radius of the shape context descriptor. [詳解]
|
|
virtual CV_WRAP float | getInnerRadius () const =0 |
|
virtual CV_WRAP void | setOuterRadius (float outerRadius)=0 |
| Set the outer radius of the shape context descriptor. [詳解]
|
|
virtual CV_WRAP float | getOuterRadius () const =0 |
|
virtual CV_WRAP void | setRotationInvariant (bool rotationInvariant)=0 |
|
virtual CV_WRAP bool | getRotationInvariant () const =0 |
|
virtual CV_WRAP void | setShapeContextWeight (float shapeContextWeight)=0 |
| 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. [詳解]
|
|
virtual CV_WRAP float | getShapeContextWeight () const =0 |
|
virtual CV_WRAP void | setImageAppearanceWeight (float imageAppearanceWeight)=0 |
| 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. [詳解]
|
|
virtual CV_WRAP float | getImageAppearanceWeight () const =0 |
|
virtual CV_WRAP void | setBendingEnergyWeight (float bendingEnergyWeight)=0 |
| 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. [詳解]
|
|
virtual CV_WRAP float | getBendingEnergyWeight () const =0 |
|
virtual CV_WRAP void | setImages (InputArray image1, InputArray image2)=0 |
| Set the images that correspond to each shape. This images are used in the calculation of the Image Appearance cost. [詳解]
|
|
virtual CV_WRAP void | getImages (OutputArray image1, OutputArray image2) const =0 |
|
virtual CV_WRAP void | setIterations (int iterations)=0 |
|
virtual CV_WRAP int | getIterations () const =0 |
|
virtual CV_WRAP void | setCostExtractor (Ptr< HistogramCostExtractor > comparer)=0 |
| Set the algorithm used for building the shape context descriptor cost matrix. [詳解]
|
|
virtual CV_WRAP Ptr< HistogramCostExtractor > | getCostExtractor () const =0 |
|
virtual CV_WRAP void | setStdDev (float sigma)=0 |
| Set the value of the standard deviation for the Gaussian window for the image appearance cost. [詳解]
|
|
virtual CV_WRAP float | getStdDev () const =0 |
|
virtual CV_WRAP void | setTransformAlgorithm (Ptr< ShapeTransformer > transformer)=0 |
| Set the algorithm used for aligning the shapes. [詳解]
|
|
virtual CV_WRAP Ptr< ShapeTransformer > | getTransformAlgorithm () const =0 |
|
virtual CV_WRAP void | clear () |
| Clears the algorithm state [詳解]
|
|
virtual void | write (FileStorage &fs) const |
| Stores algorithm parameters in a file storage [詳解]
|
|
CV_WRAP void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
| simplified API for language bindings これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
|
|
virtual CV_WRAP void | read (const FileNode &fn) |
| Reads algorithm parameters from a file storage [詳解]
|
|
virtual CV_WRAP bool | empty () const |
| Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read [詳解]
|
|
virtual CV_WRAP void | save (const String &filename) const |
|
virtual CV_WRAP String | getDefaultName () const |
|
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.