eVision C++ API 26.10.0-beta.2.dev
Loading...
Searching...
No Matches
eVision::EParticleDetectionParameters Struct Reference

Used to store the particle detection parameters. See EScratchDetectionParameters for the scratch detection parameters. More...

#include <eVision/EasySpotDetector/EParticleDetectionParameters.h>

Public Member Functions

 EParticleDetectionParameters ()
 Constructs a EParticleDetectionParameters.
 EParticleDetectionParameters (eVision::ESpotPolarity polarity, uint32_t threshold, uint32_t min, uint32_t max, uint32_t area)
 Constructs a EParticleDetectionParameters.
bool operator== (const eVision::EParticleDetectionParameters &other) const
 Comparison operator.
bool operator!= (const eVision::EParticleDetectionParameters &other) const
 Comparison operator.

Public Attributes

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.

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() [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
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!= ( const eVision::EParticleDetectionParameters & other) const

Comparison operator.

Parameters
otherThe other object.

◆ operator==()

bool eVision::EParticleDetectionParameters::operator== ( const eVision::EParticleDetectionParameters & other) const

Comparison operator.

Parameters
otherThe other object.

Member Data Documentation

◆ 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

eVision::ESpotPolarity eVision::EParticleDetectionParameters::Polarity

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

◆ 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.