eVision Python API
Loading...
Searching...
No Matches
eVision.EParticleDetectionParameters Class Reference

Used to store the particle detection parameters. More...

Public Member Functions

None __init__ (self)
 Constructs a eVision.EParticleDetectionParameters.
None __init__ (self, eVision.ESpotPolarity polarity, int threshold, int min, int max, int area)
 Constructs a eVision.EParticleDetectionParameters.
None __init__ (self, eVision.ESpotPolarity Polarity)
None __init__ (self, eVision.ESpotPolarity Polarity, int Threshold)
None __init__ (self, eVision.ESpotPolarity Polarity, int Threshold, int MinSize)
None __init__ (self, eVision.ESpotPolarity Polarity, int Threshold, int MinSize, int MaxSize)
None __init__ (self, eVision.EParticleDetectionParameters other)
eVision.ESpotPolarity Polarity (self)
 The particle polarity (black, white or any) in eVision.ESpotPolarity.
 Polarity (self, eVision.ESpotPolarity value)
 The particle polarity (black, white or any) in eVision.ESpotPolarity.
int Threshold (self)
 The threshold on the pixel intensity difference with the background.
 Threshold (self, int value)
 The threshold on the pixel intensity difference with the background.
int MinSize (self)
 The minimum particle size.
 MinSize (self, int value)
 The minimum particle size.
int MaxSize (self)
 The maximum particle size.
 MaxSize (self, int value)
 The maximum particle size.
int MinArea (self)
 The minimum particle pixel area.
 MinArea (self, int value)
 The minimum particle pixel area.

Detailed Description

Used to store the particle detection parameters.

See eVision.EScratchDetectionParameters for the scratch detection parameters.

Remarks:

License(s): EasySpotDetector

Deprecated
Deprecated in version 26.6. Scheduled to be removed in version 27.6.

Constructor & Destructor Documentation

◆ __init__() [1/7]

None eVision.EParticleDetectionParameters.__init__ ( self)

◆ __init__() [2/7]

None eVision.EParticleDetectionParameters.__init__ ( self,
eVision.ESpotPolarity polarity,
int threshold,
int min,
int max,
int area )

Constructs a eVision.EParticleDetectionParameters.

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

◆ __init__() [3/7]

None eVision.EParticleDetectionParameters.__init__ ( self,
eVision.ESpotPolarity Polarity )
Parameters
PolarityThe particle polarity (black, white or any) in eVision.ESpotPolarity. Default polarity is eVision.ESpotPolarity.Any.

◆ __init__() [4/7]

None eVision.EParticleDetectionParameters.__init__ ( self,
eVision.ESpotPolarity Polarity,
int Threshold )
Parameters
PolarityThe particle polarity (black, white or any) in eVision.ESpotPolarity. Default polarity is eVision.ESpotPolarity.Any.
ThresholdThe 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.

◆ __init__() [5/7]

None eVision.EParticleDetectionParameters.__init__ ( self,
eVision.ESpotPolarity Polarity,
int Threshold,
int MinSize )
Parameters
PolarityThe particle polarity (black, white or any) in eVision.ESpotPolarity. Default polarity is eVision.ESpotPolarity.Any.
ThresholdThe 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.
MinSizeThe 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.

◆ __init__() [6/7]

None eVision.EParticleDetectionParameters.__init__ ( self,
eVision.ESpotPolarity Polarity,
int Threshold,
int MinSize,
int MaxSize )
Parameters
PolarityThe particle polarity (black, white or any) in eVision.ESpotPolarity. Default polarity is eVision.ESpotPolarity.Any.
ThresholdThe 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.
MinSizeThe 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.
MaxSizeThe 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.

◆ __init__() [7/7]

None eVision.EParticleDetectionParameters.__init__ ( self,
eVision.EParticleDetectionParameters other )
Parameters
otherOther instance

Member Function Documentation

◆ MaxSize() [1/2]

int eVision.EParticleDetectionParameters.MaxSize ( self)

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.

◆ MaxSize() [2/2]

eVision.EParticleDetectionParameters.MaxSize ( self,
int value )

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() [1/2]

int eVision.EParticleDetectionParameters.MinArea ( self)

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.

◆ MinArea() [2/2]

eVision.EParticleDetectionParameters.MinArea ( self,
int value )

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() [1/2]

int eVision.EParticleDetectionParameters.MinSize ( self)

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.

◆ MinSize() [2/2]

eVision.EParticleDetectionParameters.MinSize ( self,
int value )

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() [1/2]

eVision.ESpotPolarity eVision.EParticleDetectionParameters.Polarity ( self)

The particle polarity (black, white or any) in eVision.ESpotPolarity.

Default polarity is eVision.ESpotPolarity.Any.

◆ Polarity() [2/2]

eVision.EParticleDetectionParameters.Polarity ( self,
eVision.ESpotPolarity value )

The particle polarity (black, white or any) in eVision.ESpotPolarity.

Default polarity is eVision.ESpotPolarity.Any.

◆ Threshold() [1/2]

int eVision.EParticleDetectionParameters.Threshold ( self)

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.

◆ Threshold() [2/2]

eVision.EParticleDetectionParameters.Threshold ( self,
int value )

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.