ShapeFinder (SF.dll) 14.0
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.
 

Related Functions

(Note that these are not member functions.)

SF CreateSF2 (IMG Image, cvbdim_t Index, cvbdim_t MX, cvbdim_t MY, double MAlpha, double MScale, cvbdim_t FWL, cvbdim_t FWT, cvbdim_t FWR, cvbdim_t FWB, cvbdim_t Threshold, cvbdim_t MinFeatureNumber, TSymmetryParams SParams, PIXELLIST DontCareList)
 Creates a ShapeFinder2 model from the input data. More...
 
SF CreateSF2Ex (IMG Image, cvbdim_t Index, cvbdim_t MX, cvbdim_t MY, double MAlpha, double MScale, cvbdim_t FWL, cvbdim_t FWT, cvbdim_t FWR, cvbdim_t FWB, cvbval_t Threshold, cvbval_t MinFeatureNumber, cvbval_t MaxCoarseScale, TSymmetryParams SParams, PIXELLIST DontCareList)
 Creates a ShapeFinder2 model from the input data. More...
 
SF CreateSF2ExEx (IMG Image, cvbdim_t Index, cvbdim_t MX, cvbdim_t MY, double MAlpha, double MScale, cvbdim_t FWL, cvbdim_t FWT, cvbdim_t FWR, cvbdim_t FWB, cvbval_t Threshold, cvbval_t MinFeatureNumber, cvbval_t MaxCoarseScale, TSymmetryParams SParams, PIXELLIST DontCareList, int GradientMode, int AProfileSize, double ADelta)
 Creates a ShapeFinder2 model from the input data. More...
 
cvbbool_t GetSF2Symmetries (SF sf, TSymmetryParams &SymmetryParams)
 Returns the symmetry parameters with which the specified ShapeFinder2 model has been generated. More...
 

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.