Segments an image using a pixel-by-pixel single threshold given as an image. More...


Public Member Functions | |
| new void | Load (string path) |
| Load the EReferenceImageSegmenter configuration. The given ESerializer must have been created for reading. | |
| new void | Load (eVision.ESerializer serializer) |
| Load the EReferenceImageSegmenter configuration. The given ESerializer must have been created for reading. | |
| new void | Save (string path) |
| Save the EReferenceImageSegmenter configuration. The given ESerializer must have been created for writing. | |
| new void | Save (eVision.ESerializer serializer) |
| Save the EReferenceImageSegmenter configuration. The given ESerializer must have been created for writing. | |
| Public Member Functions inherited from eVision.Segmenters.ETwoLayersImageSegmenter | |
| void | Load (string path) |
| Load the ETwoLayersImageSegmenter configuration. The given ESerializer must have been created for reading. | |
| void | Load (eVision.ESerializer serializer) |
| Load the ETwoLayersImageSegmenter configuration. The given ESerializer must have been created for reading. | |
| void | Save (string path) |
| Save the ETwoLayersImageSegmenter configuration. The given ESerializer must have been created for writing. | |
| void | Save (eVision.ESerializer serializer) |
| Save the ETwoLayersImageSegmenter configuration. The given ESerializer must have been created for writing. | |
Properties | |
| override uint | BlackLayerIndex [set] |
| Index of the black layer in the destination coded image. | |
| override bool | BlackLayerEncoded [set] |
| Black layer encoding status. | |
| override uint | WhiteLayerIndex [set] |
| Index of the white layer in the destination coded image. | |
| override bool | WhiteLayerEncoded [set] |
| White layer encoding status. | |
| eVision.EROIBW8 | ReferenceImageBW8 [get, set] |
| Reference image for the segmentation of EROIBW8 images. | |
| eVision.EROIBW16 | ReferenceImageBW16 [get, set] |
| Reference image for the segmentation of EROIBW16 images. | |
| eVision.EROIC24 | ReferenceImageC24 [get, set] |
| Reference image for the segmentation of EROIC24 images. | |
| Properties inherited from eVision.Segmenters.ETwoLayersImageSegmenter | |
| virtual uint | BlackLayerIndex [get, set] |
| Index of the black layer in the destination coded image. | |
| virtual bool | BlackLayerEncoded [get, set] |
| Black layer encoding status. | |
| virtual uint | WhiteLayerIndex [get, set] |
| Index of the white layer in the destination coded image. | |
| virtual bool | WhiteLayerEncoded [get, set] |
| White layer encoding status. | |
Segments an image using a pixel-by-pixel single threshold given as an image.
This segmenter is applicable to EROIBW8, EROIBW16 and EROIC24 images. It produces coded images with two layers. The threshold is defined for each pixel individually by means of a reference image of the same type as the source 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 respective pixel in the reference image and the white color.
For RGB color images, the White layer (usually, with index 1) contains unmasked pixels having a color inside the cube of the RGB color space defined by the color of the respective pixel in the reference image and the white color (255,255,255).
The Black layer (usually, with index 0) contains the remaining unmasked pixels.
License(s): EasyObject
| new void eVision.Segmenters.EReferenceImageSegmenter.Load | ( | eVision.ESerializer | serializer | ) |
Load the EReferenceImageSegmenter configuration. The given ESerializer must have been created for reading.
| serializer | The serializer. |
| new void eVision.Segmenters.EReferenceImageSegmenter.Load | ( | string | path | ) |
Load the EReferenceImageSegmenter configuration. The given ESerializer must have been created for reading.
| path | The file path. |
| new void eVision.Segmenters.EReferenceImageSegmenter.Save | ( | eVision.ESerializer | serializer | ) |
Save the EReferenceImageSegmenter configuration. The given ESerializer must have been created for writing.
| serializer | The serializer. |
| new void eVision.Segmenters.EReferenceImageSegmenter.Save | ( | string | path | ) |
Save the EReferenceImageSegmenter configuration. The given ESerializer must have been created for writing.
| path | The file path. |
|
set |
Black layer encoding status.
|
set |
Index of the black layer in the destination coded image.
Setting this property automatically switches on the encoding of the black layer.
|
getset |
Reference image for the segmentation of EROIBW16 images.
Note that the image is copied internally.
|
getset |
Reference image for the segmentation of EROIBW8 images.
Note that the image is copied internally.
|
getset |
Reference image for the segmentation of EROIC24 images.
Note that the image is copied internally.
|
set |
White layer encoding status.
|
set |
Index of the white layer in the destination coded image.
Setting this property automatically switches on the encoding of the white layer.