ShapeFinder (SF.dll) 14.1
TSymmetryParams Struct Reference

Symmetry parameter structure for training ShapeFinder2 models. More...

Data Fields

double A0
 Minimum rotation angle in degrees. Needs to be greater or equal to -180.
 
double A1
 Maximum rotation angle in degrees. Needs to be less than or equal to 180.
 
int ContrastMode
 Reserved. Currently this value will be ignored.
 
double R0
 Minimum scale factor. Needs to be greater or equal to 0.66.
 
double R1
 Maximum scale factor. Needs to be less than or equal to 1.5.
 

Detailed Description

Symmetry parameter structure for training ShapeFinder2 models.

This structure is accepted by the functions CreateSF2, CreateSF2Ex and CreateSF2ExEx. It specified the symmetry coverage (acceptable rotation and scale range) for the model to be created.

For your convenience a few predefined parameter sets exist that correspond to typical use cases: SP_SimpleModel, SP_TolerantModel, SP_RotationInvariance, SP_ScaleInvariance, and SP_FullInvariance.

For a completely rotation invariant model set A0 = -180 and A1 = 180. For a model with no scale invariance set R0 = 1.0 and R1 = 1.0. For a the maximum range of scale-invariance set R0 = 0.66 and R1 = 1.50.

The scale range will always be clamped to the range [0.66 ... 1.5] and the rotation range will always be clamped to the range [-180...180] by the training functions.