Segments an image using a single threshold on a color image. More...


Public Member Functions | |
| None | Load (self, str path) |
| Load the eVision.Segmenters.EColorSingleThresholdSegmenter configuration. | |
| None | Load (self, eVision.ESerializer|None serializer) |
| Load the eVision.Segmenters.EColorSingleThresholdSegmenter configuration. | |
| None | Save (self, str path) |
| Save the eVision.Segmenters.EColorSingleThresholdSegmenter configuration. | |
| None | Save (self, eVision.ESerializer|None serializer) |
| Save the eVision.Segmenters.EColorSingleThresholdSegmenter configuration. | |
Properties | |
| Threshold = property(_Threshold__getter, _Threshold__setter) | |
| Value of the threshold. | |
| Properties inherited from eVision.Segmenters.ETwoLayersImageSegmenter | |
| 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. | |
| 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 single threshold on a color image.
Remarks:
This segmenter is applicable to eVision.EROIC24 RGB color images. It produces coded images with two layers: The White layer (usually, with index 1) contains the unmasked pixels that belong to the cube of the RGB space defined by the threshold point and the white point (255,255,255); and the Black layer (usually, with index 0) contains the remaining unmasked pixels.
License(s): EasyObject
| None eVision.Segmenters.EColorSingleThresholdSegmenter.Load | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Load the eVision.Segmenters.EColorSingleThresholdSegmenter configuration.
The given eVision.ESerializer must have been created for reading.
| serializer | The serializer. |
Reimplemented from eVision.Segmenters.ETwoLayersImageSegmenter.
| None eVision.Segmenters.EColorSingleThresholdSegmenter.Load | ( | self, | |
| str | path ) |
Load the eVision.Segmenters.EColorSingleThresholdSegmenter configuration.
The given eVision.ESerializer must have been created for reading.
| path | The file path. |
Reimplemented from eVision.Segmenters.ETwoLayersImageSegmenter.
| None eVision.Segmenters.EColorSingleThresholdSegmenter.Save | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Save the eVision.Segmenters.EColorSingleThresholdSegmenter configuration.
The given eVision.ESerializer must have been created for writing.
| serializer | The serializer. |
Reimplemented from eVision.Segmenters.ETwoLayersImageSegmenter.
| None eVision.Segmenters.EColorSingleThresholdSegmenter.Save | ( | self, | |
| str | path ) |
Save the eVision.Segmenters.EColorSingleThresholdSegmenter configuration.
The given eVision.ESerializer must have been created for writing.
| path | The file path. |
Reimplemented from eVision.Segmenters.ETwoLayersImageSegmenter.
|
static |
Value of the threshold.