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

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

Public Member Functions

None __init__ (self)
 Constructs a eVision.EScratchDetectionParameters.
None __init__ (self, eVision.ESpotPolarity polarity, int threshold, int width, int length)
 Constructs a eVision.EScratchDetectionParameters.
None __init__ (self, eVision.ESpotPolarity Polarity)
None __init__ (self, eVision.ESpotPolarity Polarity, int Threshold)
None __init__ (self, eVision.ESpotPolarity Polarity, int Threshold, int NominalWidth)
None __init__ (self, eVision.EScratchDetectionParameters other)

Properties

 Polarity = property(_Polarity__getter, _Polarity__setter)
 The scratch polarity (black, white or any) in eVision.ESpotPolarity.
 Threshold = property(_Threshold__getter, _Threshold__setter)
 The threshold on the pixel intensity difference with the background.
 NominalWidth = property(_NominalWidth__getter, _NominalWidth__setter)
 The nominal scratch width.
 MinLength = property(_MinLength__getter, _MinLength__setter)
 The minimum scratch length.

Detailed Description

Used to store the scratch detection parameters.

See eVision.EParticleDetectionParameters for the particle 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/6]

None eVision.EScratchDetectionParameters.__init__ ( self)

◆ __init__() [2/6]

None eVision.EScratchDetectionParameters.__init__ ( self,
eVision.ESpotPolarity polarity,
int threshold,
int width,
int length )

Constructs a eVision.EScratchDetectionParameters.

Parameters
polarityThe particle polarity (black, white or any) in eVision.ESpotPolarity.
thresholdThe threshold on the pixel intensity difference with the background.
widthThe nominal scratch width.
lengthThe minimum scratch length.

◆ __init__() [3/6]

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

◆ __init__() [4/6]

None eVision.EScratchDetectionParameters.__init__ ( self,
eVision.ESpotPolarity Polarity,
int Threshold )
Parameters
PolarityThe scratch 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 possible a few or no spot detected. Default threshold is 20.

◆ __init__() [5/6]

None eVision.EScratchDetectionParameters.__init__ ( self,
eVision.ESpotPolarity Polarity,
int Threshold,
int NominalWidth )
Parameters
PolarityThe scratch 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 possible a few or no spot detected. Default threshold is 20.
NominalWidthThe nominal scratch width. The width of the scratch must be roughtly equal to the nominal width. Default nominal width is 10.

◆ __init__() [6/6]

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

Property Documentation

◆ MinLength

eVision.EScratchDetectionParameters.MinLength = property(_MinLength__getter, _MinLength__setter)
static

The minimum scratch length.

The length of the scratch must be equal or larger than the minimum length. Default minimum size is 100.

◆ NominalWidth

eVision.EScratchDetectionParameters.NominalWidth = property(_NominalWidth__getter, _NominalWidth__setter)
static

The nominal scratch width.

The width of the scratch must be roughtly equal to the nominal width. Default nominal width is 10.

◆ Polarity

eVision.EScratchDetectionParameters.Polarity = property(_Polarity__getter, _Polarity__setter)
static

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

Default polarity is eVision.ESpotPolarity.Any.

◆ Threshold

eVision.EScratchDetectionParameters.Threshold = property(_Threshold__getter, _Threshold__setter)
static

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.