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

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

Public Member Functions

 EScratchDetectionParameters (eVision.ESpotPolarity polarity, uint threshold, uint width, uint length)
 Constructs a EScratchDetectionParameters.

Static Public Member Functions

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

Public Attributes

eVision.ESpotPolarity Polarity
 The scratch 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 possible a few or no spot detected. Default threshold is 20.
uint NominalWidth
 The nominal scratch width. The width of the scratch must be roughtly equal to the nominal width. Default nominal width is 10.
uint MinLength
 The minimum scratch length. The length of the scratch must be equal or larger than the minimum length. Default minimum size is 100.

Detailed Description

Used to store the scratch detection parameters. See EParticleDetectionParameters for the particle detection parameters.

License(s): EasySpotDetector

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

Constructor & Destructor Documentation

◆ EScratchDetectionParameters()

eVision.EScratchDetectionParameters.EScratchDetectionParameters ( eVision.ESpotPolarity polarity,
uint threshold,
uint width,
uint length )

Constructs a EScratchDetectionParameters.

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

Member Function Documentation

◆ operator!=()

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

Comparison operator.

Parameters
otherThe other object.

◆ operator==()

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

Comparison operator.

Parameters
otherThe other object.

Member Data Documentation

◆ MinLength

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

◆ NominalWidth

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

◆ Polarity

eVision.ESpotPolarity eVision.EScratchDetectionParameters.Polarity

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

◆ Threshold

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