Enumerations | |
enum | SF2CudaStatus { SFCS_Default = 0 , SFCS_ForceDisable = 1 } |
ShapeFinder2 CUDA status enum. Allows to SFCS_ForceDisable CUDA in conjunction with SF2UseCuda. More... | |
Variables | |
const TSearchAllParams | SAP_DefaultParams = { 10, 0x7FFFFFFF, 0x7FFFFFFF, 100, 78, 10, 2 } |
ShapeFinder2 default parameters for the SF2Search and SF2SearchEx functions. More... | |
const TSymmetryParams | SP_FullInvariance = { -180, 180, 0.66, 1.5, 0 } |
ShapeFinder2 symmetry parameter set with scale invariance up to a factor 1.5 and full scale invariance. More... | |
const TSymmetryParams | SP_RotationInvariance = { -180, 180, 1.0, 1.0, 0 } |
ShapeFinder2 symmetry parameter set with full rotation invariance but no scale invariance. More... | |
const TSymmetryParams | SP_ScaleInvariance = { 0, 0, 0.66, 1.5, 0 } |
ShapeFinder2 symmetry parameter set with scale invariance up to a factor 1.5 but no scale invariance. More... | |
const TSymmetryParams | SP_SimpleModel = { 0, 0, 1.0, 1.0, 0 } |
Simple ShapeFinder2 symmetry parameter set without considering any rotation or scale other than the original. More... | |
const TSymmetryParams | SP_TolerantModel = { -10, 10, 0.83, 1.2, 0 } |
ShapeFinder2 symmetry parameter set with up to 10° rotation and up to factor 1.2 scale tolerance. More... | |
enum SF2CudaStatus |
ShapeFinder2 CUDA status enum. Allows to SFCS_ForceDisable CUDA in conjunction with SF2UseCuda.
Enumerator | |
---|---|
SFCS_Default | Use CUDA if available. |
SFCS_ForceDisable | User disabled CUDA. |
const TSearchAllParams SAP_DefaultParams = { 10, 0x7FFFFFFF, 0x7FFFFFFF, 100, 78, 10, 2 } |
ShapeFinder2 default parameters for the SF2Search and SF2SearchEx functions.
SAP_DefaultParams
defines a set of parameters suitable for many scenarios where only a very few instances of the object trained into a ShapeFinder2 model are visible.
const TSymmetryParams SP_FullInvariance = { -180, 180, 0.66, 1.5, 0 } |
const TSymmetryParams SP_RotationInvariance = { -180, 180, 1.0, 1.0, 0 } |
const TSymmetryParams SP_ScaleInvariance = { 0, 0, 0.66, 1.5, 0 } |
const TSymmetryParams SP_SimpleModel = { 0, 0, 1.0, 1.0, 0 } |
const TSymmetryParams SP_TolerantModel = { -10, 10, 0.83, 1.2, 0 } |