Segments an image using a double threshold on a grayscale image. More...


Public Member Functions | |
| None | Load (self, str path) |
| Load the eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter configuration. | |
| None | Load (self, eVision.ESerializer|None serializer) |
| Load the eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter configuration. | |
| None | Save (self, str path) |
| Save the eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter configuration. | |
| None | Save (self, eVision.ESerializer|None serializer) |
| Save the eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter configuration. | |
Properties | |
| LowThreshold = property(_LowThreshold__getter, _LowThreshold__setter) | |
| Value of the low threshold. | |
| HighThreshold = property(_HighThreshold__getter, _HighThreshold__setter) | |
| Value of the high threshold. | |
| Properties inherited from eVision.Segmenters.EThreeLayersImageSegmenter | |
| BlackLayerIndex = property(_BlackLayerIndex__getter, _BlackLayerIndex__setter) | |
| Index of the black layer in the destination coded image. | |
| BlackLayerEncoded = property(_BlackLayerEncoded__getter, _BlackLayerEncoded__setter) | |
| Black layer encoding status. | |
| NeutralLayerIndex = property(_NeutralLayerIndex__getter, _NeutralLayerIndex__setter) | |
| Index of the neutral layer in the destination coded image. | |
| NeutralLayerEncoded = property(_NeutralLayerEncoded__getter, _NeutralLayerEncoded__setter) | |
| Neutral layer encoding status. | |
| WhiteLayerIndex = property(_WhiteLayerIndex__getter, _WhiteLayerIndex__setter) | |
| Index of the white layer in the destination coded image. | |
| WhiteLayerEncoded = property(_WhiteLayerEncoded__getter, _WhiteLayerEncoded__setter) | |
| White layer encoding status. | |
Segments an image using a double threshold on a grayscale image.
Remarks:
This segmenter is applicable to eVision.EROIBW8 and eVision.EROIBW16 grayscale images. It produces coded images with three layers: The Black layer (usually, with index 0) contains the unmasked pixels having a gray value strictly below the low threshold value; the White layer (usually, with index 2) contains the unmasked pixels having a gray value above or equal to the high threshold value; and the Neutral layer (usually, with index 1) contains the remaining unmasked pixels.
License(s): EasyObject
| None eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter.Load | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Load the eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter configuration.
The given eVision.ESerializer must have been created for reading.
| serializer | The serializer. |
Reimplemented from eVision.Segmenters.EThreeLayersImageSegmenter.
| None eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter.Load | ( | self, | |
| str | path ) |
Load the eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter configuration.
The given eVision.ESerializer must have been created for reading.
| path | The file path. |
Reimplemented from eVision.Segmenters.EThreeLayersImageSegmenter.
| None eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter.Save | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Save the eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter configuration.
The given eVision.ESerializer must have been created for writing.
| serializer | The serializer. |
Reimplemented from eVision.Segmenters.EThreeLayersImageSegmenter.
| None eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter.Save | ( | self, | |
| str | path ) |
Save the eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter configuration.
The given eVision.ESerializer must have been created for writing.
| path | The file path. |
Reimplemented from eVision.Segmenters.EThreeLayersImageSegmenter.
|
static |
Value of the high threshold.
|
static |
Value of the low threshold.