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. | |
| int | LowThreshold (self) |
| Value of the low threshold. | |
| LowThreshold (self, int value) | |
| Value of the low threshold. | |
| int | HighThreshold (self) |
| Value of the high threshold. | |
| HighThreshold (self, int value) | |
| Value of the high threshold. | |
| Public Member Functions inherited from eVision.Segmenters.EThreeLayersImageSegmenter | |
| int | BlackLayerIndex (self) |
| Index of the black layer in the destination coded image. | |
| BlackLayerIndex (self, int value) | |
| Index of the black layer in the destination coded image. | |
| bool | BlackLayerEncoded (self) |
| Black layer encoding status. | |
| BlackLayerEncoded (self, bool value) | |
| Black layer encoding status. | |
| int | NeutralLayerIndex (self) |
| Index of the neutral layer in the destination coded image. | |
| NeutralLayerIndex (self, int value) | |
| Index of the neutral layer in the destination coded image. | |
| bool | NeutralLayerEncoded (self) |
| Neutral layer encoding status. | |
| NeutralLayerEncoded (self, bool value) | |
| Neutral layer encoding status. | |
| int | WhiteLayerIndex (self) |
| Index of the white layer in the destination coded image. | |
| WhiteLayerIndex (self, int value) | |
| Index of the white layer in the destination coded image. | |
| bool | WhiteLayerEncoded (self) |
| White layer encoding status. | |
| WhiteLayerEncoded (self, bool value) | |
| 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
| int eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter.HighThreshold | ( | self | ) |
Value of the high threshold.
| eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter.HighThreshold | ( | self, | |
| int | value ) |
Value of the high threshold.
| 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.
| int eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter.LowThreshold | ( | self | ) |
Value of the low threshold.
| eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter.LowThreshold | ( | self, | |
| int | value ) |
Value of the low threshold.
| 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.