Used to store the particle detection parameters. See EScratchDetectionParameters for the scratch detection parameters.
More...
#include <eVision/EasySpotDetector/EParticleDetectionParameters.h>
|
| eVision::ESpotPolarity | Polarity |
| | The particle polarity (black, white or any) in ESpotPolarity. Default polarity is ESpotPolarity::ESpotPolarity_Any.
|
| uint32_t | 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.
|
| uint32_t | 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.
|
| uint32_t | 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.
|
| uint32_t | 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
- Deprecated
- Deprecated in version 26.6. Scheduled to be removed in version 27.6.
◆ EParticleDetectionParameters() [1/2]
| eVision::EParticleDetectionParameters::EParticleDetectionParameters |
( |
| ) |
|
◆ EParticleDetectionParameters() [2/2]
| eVision::EParticleDetectionParameters::EParticleDetectionParameters |
( |
eVision::ESpotPolarity | polarity, |
|
|
uint32_t | threshold, |
|
|
uint32_t | min, |
|
|
uint32_t | max, |
|
|
uint32_t | area ) |
Constructs a EParticleDetectionParameters.
- Parameters
-
| 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. |
◆ operator!=()
Comparison operator.
- Parameters
-
◆ operator==()
Comparison operator.
- Parameters
-
◆ MaxSize
| uint32_t 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.
◆ MinArea
| uint32_t 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.
◆ MinSize
| uint32_t 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.
◆ Polarity
◆ Threshold
| uint32_t 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.