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) |
| eVision.ESpotPolarity | Polarity (self) |
| The scratch polarity (black, white or any) in eVision.ESpotPolarity. | |
| Polarity (self, eVision.ESpotPolarity value) | |
| The scratch 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 | NominalWidth (self) |
| The nominal scratch width. | |
| NominalWidth (self, int value) | |
| The nominal scratch width. | |
| int | MinLength (self) |
| The minimum scratch length. | |
| MinLength (self, int value) | |
| The minimum scratch length. | |
Used to store the scratch detection parameters.
See eVision.EParticleDetectionParameters for the particle detection parameters.
Remarks:
License(s): EasySpotDetector
| None eVision.EScratchDetectionParameters.__init__ | ( | self | ) |
Constructs a eVision.EScratchDetectionParameters.
| None eVision.EScratchDetectionParameters.__init__ | ( | self, | |
| eVision.ESpotPolarity | polarity, | ||
| int | threshold, | ||
| int | width, | ||
| int | length ) |
Constructs a eVision.EScratchDetectionParameters.
| polarity | The particle polarity (black, white or any) in eVision.ESpotPolarity. |
| threshold | The threshold on the pixel intensity difference with the background. |
| width | The nominal scratch width. |
| length | The minimum scratch length. |
| None eVision.EScratchDetectionParameters.__init__ | ( | self, | |
| eVision.ESpotPolarity | Polarity ) |
| Polarity | The scratch polarity (black, white or any) in eVision.ESpotPolarity. Default polarity is eVision.ESpotPolarity.Any. |
| None eVision.EScratchDetectionParameters.__init__ | ( | self, | |
| eVision.ESpotPolarity | Polarity, | ||
| int | Threshold ) |
| Polarity | The scratch polarity (black, white or any) in eVision.ESpotPolarity. Default polarity is eVision.ESpotPolarity.Any. |
| 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. |
| None eVision.EScratchDetectionParameters.__init__ | ( | self, | |
| eVision.ESpotPolarity | Polarity, | ||
| int | Threshold, | ||
| int | NominalWidth ) |
| Polarity | The scratch polarity (black, white or any) in eVision.ESpotPolarity. Default polarity is eVision.ESpotPolarity.Any. |
| 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. |
| NominalWidth | The nominal scratch width. The width of the scratch must be roughtly equal to the nominal width. Default nominal width is 10. |
| None eVision.EScratchDetectionParameters.__init__ | ( | self, | |
| eVision.EScratchDetectionParameters | other ) |
| other | Other instance |
| int eVision.EScratchDetectionParameters.MinLength | ( | self | ) |
The minimum scratch length.
The length of the scratch must be equal or larger than the minimum length. Default minimum size is 100.
| eVision.EScratchDetectionParameters.MinLength | ( | self, | |
| int | value ) |
The minimum scratch length.
The length of the scratch must be equal or larger than the minimum length. Default minimum size is 100.
| int eVision.EScratchDetectionParameters.NominalWidth | ( | self | ) |
The nominal scratch width.
The width of the scratch must be roughtly equal to the nominal width. Default nominal width is 10.
| eVision.EScratchDetectionParameters.NominalWidth | ( | self, | |
| int | value ) |
The nominal scratch width.
The width of the scratch must be roughtly equal to the nominal width. Default nominal width is 10.
| eVision.ESpotPolarity eVision.EScratchDetectionParameters.Polarity | ( | self | ) |
The scratch polarity (black, white or any) in eVision.ESpotPolarity.
Default polarity is eVision.ESpotPolarity.Any.
| eVision.EScratchDetectionParameters.Polarity | ( | self, | |
| eVision.ESpotPolarity | value ) |
The scratch polarity (black, white or any) in eVision.ESpotPolarity.
Default polarity is eVision.ESpotPolarity.Any.
| int eVision.EScratchDetectionParameters.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 possible a few or no spot detected. Default threshold is 20.
| eVision.EScratchDetectionParameters.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 possible a few or no spot detected. Default threshold is 20.