Used to store the scratch detection parameters. See EParticleDetectionParameters for the particle detection parameters. More...
Public Member Functions | |
| EScratchDetectionParameters (eVision.ESpotPolarity polarity, uint threshold, uint width, uint length) | |
| Constructs a EScratchDetectionParameters. | |
Static Public Member Functions | |
| static bool | operator== (eVision.EScratchDetectionParameters extraArgument, eVision.EScratchDetectionParameters other) |
| Comparison operator. | |
| static bool | operator!= (eVision.EScratchDetectionParameters extraArgument, eVision.EScratchDetectionParameters other) |
| Comparison operator. | |
Public Attributes | |
| eVision.ESpotPolarity | Polarity |
| The scratch polarity (black, white or any) in ESpotPolarity. Default polarity is ESpotPolarity.ESpotPolarity_Any. | |
| uint | Threshold |
| The threshold on the pixel intensity difference with the background. A low threshold (5-10) implies a sensitive detection, with possibly a lot of detected spots. A high threshold (30-40) implies a conservative detection, with possible a few or no spot detected. Default threshold is 20. | |
| uint | NominalWidth |
| The nominal scratch width. The width of the scratch must be roughtly equal to the nominal width. Default nominal width is 10. | |
| uint | MinLength |
| The minimum scratch length. The length of the scratch must be equal or larger than the minimum length. Default minimum size is 100. | |
Used to store the scratch detection parameters. See EParticleDetectionParameters for the particle detection parameters.
License(s): EasySpotDetector
| eVision.EScratchDetectionParameters.EScratchDetectionParameters | ( | eVision.ESpotPolarity | polarity, |
| uint | threshold, | ||
| uint | width, | ||
| uint | length ) |
Constructs a EScratchDetectionParameters.
| polarity | The particle polarity (black, white or any) in ESpotPolarity. |
| threshold | The threshold on the pixel intensity difference with the background. |
| width | The nominal scratch width. |
| length | The minimum scratch length. |
|
static |
Comparison operator.
| other | The other object. |
|
static |
Comparison operator.
| other | The other object. |
| uint eVision.EScratchDetectionParameters.MinLength |
The minimum scratch length. The length of the scratch must be equal or larger than the minimum length. Default minimum size is 100.
| uint eVision.EScratchDetectionParameters.NominalWidth |
The nominal scratch width. The width of the scratch must be roughtly equal to the nominal width. Default nominal width is 10.
| eVision.ESpotPolarity eVision.EScratchDetectionParameters.Polarity |
The scratch polarity (black, white or any) in ESpotPolarity. Default polarity is ESpotPolarity.ESpotPolarity_Any.
| uint eVision.EScratchDetectionParameters.Threshold |
The threshold on the pixel intensity difference with the background. A low threshold (5-10) implies a sensitive detection, with possibly a lot of detected spots. A high threshold (30-40) implies a conservative detection, with possible a few or no spot detected. Default threshold is 20.