Used to store the scratch detection parameters. See EParticleDetectionParameters for the particle detection parameters. More...
#include <eVision/EasySpotDetector/EScratchDetectionParameters.h>
Public Member Functions | |
| EScratchDetectionParameters () | |
| Constructs a EScratchDetectionParameters. | |
| EScratchDetectionParameters (eVision::ESpotPolarity polarity, uint32_t threshold, uint32_t width, uint32_t length) | |
| Constructs a EScratchDetectionParameters. | |
| bool | operator== (const eVision::EScratchDetectionParameters &other) const |
| Comparison operator. | |
| bool | operator!= (const eVision::EScratchDetectionParameters &other) const |
| Comparison operator. | |
Public Attributes | |
| eVision::ESpotPolarity | Polarity |
| The scratch 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 possible a few or no spot detected. Default threshold is 20. | |
| uint32_t | NominalWidth |
| The nominal scratch width. The width of the scratch must be roughtly equal to the nominal width. Default nominal width is 10. | |
| uint32_t | 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 | ( | ) |
Constructs a EScratchDetectionParameters.
| eVision::EScratchDetectionParameters::EScratchDetectionParameters | ( | eVision::ESpotPolarity | polarity, |
| uint32_t | threshold, | ||
| uint32_t | width, | ||
| uint32_t | 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. |
| bool eVision::EScratchDetectionParameters::operator!= | ( | const eVision::EScratchDetectionParameters & | other | ) | const |
Comparison operator.
| other | The other object. |
| bool eVision::EScratchDetectionParameters::operator== | ( | const eVision::EScratchDetectionParameters & | other | ) | const |
Comparison operator.
| other | The other object. |
| uint32_t 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.
| uint32_t 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.
| uint32_t 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.