Segments an image using a pixel-by-pixel double threshold given as two images. More...


Public Member Functions | |
| None | Load (self, str path) |
| Load the eVision.Segmenters.EImageRangeSegmenter configuration. | |
| None | Load (self, eVision.ESerializer|None serializer) |
| Load the eVision.Segmenters.EImageRangeSegmenter configuration. | |
| None | Save (self, str path) |
| Save the eVision.Segmenters.EImageRangeSegmenter configuration. | |
| None | Save (self, eVision.ESerializer|None serializer) |
| Save the eVision.Segmenters.EImageRangeSegmenter configuration. | |
| 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 | 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. | |
| eVision.EROIBW8|None | LowImageBW8 (self) |
| Low image for the segmentation of eVision.EROIBW8 images. | |
| LowImageBW8 (self, eVision.EROIBW8|None value) | |
| Low image for the segmentation of eVision.EROIBW8 images. | |
| eVision.EROIBW8|None | HighImageBW8 (self) |
| High image for the segmentation of eVision.EROIBW8 images. | |
| HighImageBW8 (self, eVision.EROIBW8|None value) | |
| High image for the segmentation of eVision.EROIBW8 images. | |
| eVision.EROIBW16|None | LowImageBW16 (self) |
| Low image for the segmentation of eVision.EROIBW16 images. | |
| LowImageBW16 (self, eVision.EROIBW16|None value) | |
| Low image for the segmentation of eVision.EROIBW16 images. | |
| eVision.EROIBW16|None | HighImageBW16 (self) |
| High image for the segmentation of eVision.EROIBW16 images. | |
| HighImageBW16 (self, eVision.EROIBW16|None value) | |
| High image for the segmentation of eVision.EROIBW16 images. | |
| eVision.EROIC24|None | LowImageC24 (self) |
| Low image for the segmentation of eVision.EROIC24 images. | |
| LowImageC24 (self, eVision.EROIC24|None value) | |
| Low image for the segmentation of eVision.EROIC24 images. | |
| eVision.EROIC24|None | HighImageC24 (self) |
| High image for the segmentation of eVision.EROIC24 images. | |
| HighImageC24 (self, eVision.EROIC24|None value) | |
| High image for the segmentation of eVision.EROIC24 images. | |
Segments an image using a pixel-by-pixel double threshold given as two images.
Remarks:
This segmenter is applicable to eVision.EROIBW8, eVision.EROIBW16 and eVision.EROIC24 images. It produces coded images with two layers. The low threshold and the high threshold are defined for each pixel individually by means of two reference images of the same type as the source image: the Low Image and the High Image.
For grayscale images, the White layer (usually, with index 1) contains unmasked pixels having a gray value in a range defined by the gray value of the corresponding unmasked pixels in the Low Image and the High Image.
For RGB color images, the White layer (usually, with index 1) contains unmasked pixels having a color inside the cube of the color space defined by the colors of the corresponding unmasked pixels in the Low Image and the High Image.
The Black layer (usually, with index 0) contains the remaining unmasked pixels.
License(s): EasyObject
| bool eVision.Segmenters.EImageRangeSegmenter.BlackLayerEncoded | ( | self | ) |
Black layer encoding status.
Reimplemented from eVision.Segmenters.ETwoLayersImageSegmenter.
| eVision.Segmenters.EImageRangeSegmenter.BlackLayerEncoded | ( | self, | |
| bool | value ) |
Black layer encoding status.
Reimplemented from eVision.Segmenters.ETwoLayersImageSegmenter.
| int eVision.Segmenters.EImageRangeSegmenter.BlackLayerIndex | ( | self | ) |
Index of the black layer in the destination coded image.
Remarks:
Setting this property automatically switches on the encoding of the black layer.
Reimplemented from eVision.Segmenters.ETwoLayersImageSegmenter.
| eVision.Segmenters.EImageRangeSegmenter.BlackLayerIndex | ( | self, | |
| int | value ) |
Index of the black layer in the destination coded image.
Remarks:
Setting this property automatically switches on the encoding of the black layer.
Reimplemented from eVision.Segmenters.ETwoLayersImageSegmenter.
| eVision.EROIBW16 | None eVision.Segmenters.EImageRangeSegmenter.HighImageBW16 | ( | self | ) |
High image for the segmentation of eVision.EROIBW16 images.
| eVision.Segmenters.EImageRangeSegmenter.HighImageBW16 | ( | self, | |
| eVision.EROIBW16 | None | value ) |
High image for the segmentation of eVision.EROIBW16 images.
| eVision.EROIBW8 | None eVision.Segmenters.EImageRangeSegmenter.HighImageBW8 | ( | self | ) |
High image for the segmentation of eVision.EROIBW8 images.
| eVision.Segmenters.EImageRangeSegmenter.HighImageBW8 | ( | self, | |
| eVision.EROIBW8 | None | value ) |
High image for the segmentation of eVision.EROIBW8 images.
| eVision.EROIC24 | None eVision.Segmenters.EImageRangeSegmenter.HighImageC24 | ( | self | ) |
High image for the segmentation of eVision.EROIC24 images.
| eVision.Segmenters.EImageRangeSegmenter.HighImageC24 | ( | self, | |
| eVision.EROIC24 | None | value ) |
High image for the segmentation of eVision.EROIC24 images.
| None eVision.Segmenters.EImageRangeSegmenter.Load | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Load the eVision.Segmenters.EImageRangeSegmenter configuration.
The given eVision.ESerializer must have been created for reading.
| serializer | The serializer. |
Reimplemented from eVision.Segmenters.ETwoLayersImageSegmenter.
| None eVision.Segmenters.EImageRangeSegmenter.Load | ( | self, | |
| str | path ) |
Load the eVision.Segmenters.EImageRangeSegmenter configuration.
The given eVision.ESerializer must have been created for reading.
| path | The file path. |
Reimplemented from eVision.Segmenters.ETwoLayersImageSegmenter.
| eVision.EROIBW16 | None eVision.Segmenters.EImageRangeSegmenter.LowImageBW16 | ( | self | ) |
Low image for the segmentation of eVision.EROIBW16 images.
| eVision.Segmenters.EImageRangeSegmenter.LowImageBW16 | ( | self, | |
| eVision.EROIBW16 | None | value ) |
Low image for the segmentation of eVision.EROIBW16 images.
| eVision.EROIBW8 | None eVision.Segmenters.EImageRangeSegmenter.LowImageBW8 | ( | self | ) |
Low image for the segmentation of eVision.EROIBW8 images.
| eVision.Segmenters.EImageRangeSegmenter.LowImageBW8 | ( | self, | |
| eVision.EROIBW8 | None | value ) |
Low image for the segmentation of eVision.EROIBW8 images.
| eVision.EROIC24 | None eVision.Segmenters.EImageRangeSegmenter.LowImageC24 | ( | self | ) |
Low image for the segmentation of eVision.EROIC24 images.
| eVision.Segmenters.EImageRangeSegmenter.LowImageC24 | ( | self, | |
| eVision.EROIC24 | None | value ) |
Low image for the segmentation of eVision.EROIC24 images.
| None eVision.Segmenters.EImageRangeSegmenter.Save | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Save the eVision.Segmenters.EImageRangeSegmenter configuration.
The given eVision.ESerializer must have been created for writing.
| serializer | The serializer. |
Reimplemented from eVision.Segmenters.ETwoLayersImageSegmenter.
| None eVision.Segmenters.EImageRangeSegmenter.Save | ( | self, | |
| str | path ) |
Save the eVision.Segmenters.EImageRangeSegmenter configuration.
The given eVision.ESerializer must have been created for writing.
| path | The file path. |
Reimplemented from eVision.Segmenters.ETwoLayersImageSegmenter.
| bool eVision.Segmenters.EImageRangeSegmenter.WhiteLayerEncoded | ( | self | ) |
White layer encoding status.
Reimplemented from eVision.Segmenters.ETwoLayersImageSegmenter.
| eVision.Segmenters.EImageRangeSegmenter.WhiteLayerEncoded | ( | self, | |
| bool | value ) |
White layer encoding status.
Reimplemented from eVision.Segmenters.ETwoLayersImageSegmenter.
| int eVision.Segmenters.EImageRangeSegmenter.WhiteLayerIndex | ( | self | ) |
Index of the white layer in the destination coded image.
Remarks:
Setting this property automatically switches on the encoding of the white layer.
Reimplemented from eVision.Segmenters.ETwoLayersImageSegmenter.
| eVision.Segmenters.EImageRangeSegmenter.WhiteLayerIndex | ( | self, | |
| int | value ) |
Index of the white layer in the destination coded image.
Remarks:
Setting this property automatically switches on the encoding of the white layer.
Reimplemented from eVision.Segmenters.ETwoLayersImageSegmenter.