Method | Description | |
---|---|---|
Create ( int nAngularBins = 12, int nRadialBins = 4, float innerRadius = 0.2f, float outerRadius = 2, int iterations = 3 ) : |
Complete constructor
|
|
GetImages ( OutputArray image1, OutputArray image2 ) : void |
Get the images that correspond to each shape. This images are used in the calculation of the Image Appearance cost.
|
|
SetImages ( InputArray image1, InputArray image2 ) : void |
Set the images that correspond to each shape. This images are used in the calculation of the Image Appearance cost.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the resources
|
|
ShapeContextDistanceExtractor ( |
|
public static Create ( int nAngularBins = 12, int nRadialBins = 4, float innerRadius = 0.2f, float outerRadius = 2, int iterations = 3 ) : |
||
nAngularBins | int | The number of angular bins in the shape context descriptor. |
nRadialBins | int | The number of radial bins in the shape context descriptor. |
innerRadius | float | The value of the inner radius. |
outerRadius | float | The value of the outer radius. |
iterations | int | |
return |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | /// If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. /// If false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed. /// |
return | void |
public GetImages ( OutputArray image1, OutputArray image2 ) : void | ||
image1 | OutputArray | Image corresponding to the shape defined by contours1. |
image2 | OutputArray | Image corresponding to the shape defined by contours2. |
return | void |
public SetImages ( InputArray image1, InputArray image2 ) : void | ||
image1 | InputArray | Image corresponding to the shape defined by contours1. |
image2 | InputArray | Image corresponding to the shape defined by contours2. |
return | void |
protected ShapeContextDistanceExtractor ( |
||
p | ||
return | System |