Used to store the particle detection parameters. See EScratchDetectionParameters for the scratch detection parameters. More...
Public Member Functions | |
| EParticleDetectionParameters (eVision.ESpotPolarity polarity, uint threshold, uint min, uint max, uint area) | |
| Constructs a EParticleDetectionParameters. | |
Static Public Member Functions | |
| static bool | operator== (eVision.EParticleDetectionParameters extraArgument, eVision.EParticleDetectionParameters other) |
| Comparison operator. | |
| static bool | operator!= (eVision.EParticleDetectionParameters extraArgument, eVision.EParticleDetectionParameters other) |
| Comparison operator. | |
Public Attributes | |
| eVision.ESpotPolarity | Polarity |
| The particle 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 possibly a few or no spot detected. Default threshold is 20. | |
| uint | MinSize |
| The minimum particle size. The width or the height of the bounding box must be equal or larger than the minimum size for the particle to be detected. Default minimum size is 10. | |
| uint | MaxSize |
| The maximum particle size. The width or the height of the bounding box must be equal or smaller than the maximum size for the particle to be detected. Default maximum size is 50. | |
| uint | MinArea |
| The minimum particle pixel area. The number of segmented pixels of the detected particle must be equal or larger than the minimum area. Default minimum area is 100. | |
Used to store the particle detection parameters. See EScratchDetectionParameters for the scratch detection parameters.
License(s): EasySpotDetector
| eVision.EParticleDetectionParameters.EParticleDetectionParameters | ( | eVision.ESpotPolarity | polarity, |
| uint | threshold, | ||
| uint | min, | ||
| uint | max, | ||
| uint | area ) |
Constructs a EParticleDetectionParameters.
| polarity | The particle polarity (black, white or any) in ESpotPolarity. |
| threshold | The threshold on the pixel intensity difference with the background. |
| min | The minimum particle size. |
| max | The maximum particle size. |
| area | The minimum particle pixel area. |
|
static |
Comparison operator.
| other | The other object. |
|
static |
Comparison operator.
| other | The other object. |
| uint eVision.EParticleDetectionParameters.MaxSize |
The maximum particle size. The width or the height of the bounding box must be equal or smaller than the maximum size for the particle to be detected. Default maximum size is 50.
| uint eVision.EParticleDetectionParameters.MinArea |
The minimum particle pixel area. The number of segmented pixels of the detected particle must be equal or larger than the minimum area. Default minimum area is 100.
| uint eVision.EParticleDetectionParameters.MinSize |
The minimum particle size. The width or the height of the bounding box must be equal or larger than the minimum size for the particle to be detected. Default minimum size is 10.
| eVision.ESpotPolarity eVision.EParticleDetectionParameters.Polarity |
The particle polarity (black, white or any) in ESpotPolarity. Default polarity is ESpotPolarity.ESpotPolarity_Any.
| uint eVision.EParticleDetectionParameters.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 possibly a few or no spot detected. Default threshold is 20.