eVision .NET API
Loading...
Searching...
No Matches
eVision.EParticleDetectionParameters Struct Reference

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.

Detailed Description

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.

Constructor & Destructor Documentation

◆ EParticleDetectionParameters()

eVision.EParticleDetectionParameters.EParticleDetectionParameters ( eVision.ESpotPolarity polarity,
uint threshold,
uint min,
uint max,
uint area )

Constructs a EParticleDetectionParameters.

Parameters
polarityThe particle polarity (black, white or any) in ESpotPolarity.
thresholdThe threshold on the pixel intensity difference with the background.
minThe minimum particle size.
maxThe maximum particle size.
areaThe minimum particle pixel area.

Member Function Documentation

◆ operator!=()

bool eVision.EParticleDetectionParameters.operator!= ( eVision.EParticleDetectionParameters extraArgument,
eVision.EParticleDetectionParameters other )
static

Comparison operator.

Parameters
otherThe other object.

◆ operator==()

bool eVision.EParticleDetectionParameters.operator== ( eVision.EParticleDetectionParameters extraArgument,
eVision.EParticleDetectionParameters other )
static

Comparison operator.

Parameters
otherThe other object.

Member Data Documentation

◆ MaxSize

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.

◆ MinArea

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.

◆ MinSize

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.

◆ Polarity

eVision.ESpotPolarity eVision.EParticleDetectionParameters.Polarity

The particle polarity (black, white or any) in ESpotPolarity. Default polarity is ESpotPolarity.ESpotPolarity_Any.

◆ Threshold

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.