eVision .NET API
Loading...
Searching...
No Matches
eVision.Segmenters.EReferenceImageSegmenter Class Reference

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

Inheritance diagram for eVision.Segmenters.EReferenceImageSegmenter:
Collaboration diagram for eVision.Segmenters.EReferenceImageSegmenter:

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.

Detailed Description

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

Member Function Documentation

◆ Load() [1/2]

new void eVision.Segmenters.EReferenceImageSegmenter.Load ( eVision.ESerializer serializer)

Load the EReferenceImageSegmenter configuration. The given ESerializer must have been created for reading.

Parameters
serializerThe serializer.

◆ Load() [2/2]

new void eVision.Segmenters.EReferenceImageSegmenter.Load ( string path)

Load the EReferenceImageSegmenter configuration. The given ESerializer must have been created for reading.

Parameters
pathThe file path.

◆ Save() [1/2]

new void eVision.Segmenters.EReferenceImageSegmenter.Save ( eVision.ESerializer serializer)

Save the EReferenceImageSegmenter configuration. The given ESerializer must have been created for writing.

Parameters
serializerThe serializer.

◆ Save() [2/2]

new void eVision.Segmenters.EReferenceImageSegmenter.Save ( string path)

Save the EReferenceImageSegmenter configuration. The given ESerializer must have been created for writing.

Parameters
pathThe file path.

Property Documentation

◆ BlackLayerEncoded

override bool eVision.Segmenters.EReferenceImageSegmenter.BlackLayerEncoded
set

Black layer encoding status.

◆ BlackLayerIndex

override uint eVision.Segmenters.EReferenceImageSegmenter.BlackLayerIndex
set

Index of the black layer in the destination coded image.

Setting this property automatically switches on the encoding of the black layer.

◆ ReferenceImageBW16

eVision.EROIBW16 eVision.Segmenters.EReferenceImageSegmenter.ReferenceImageBW16
getset

Reference image for the segmentation of EROIBW16 images.

Note that the image is copied internally.

◆ ReferenceImageBW8

eVision.EROIBW8 eVision.Segmenters.EReferenceImageSegmenter.ReferenceImageBW8
getset

Reference image for the segmentation of EROIBW8 images.

Note that the image is copied internally.

◆ ReferenceImageC24

eVision.EROIC24 eVision.Segmenters.EReferenceImageSegmenter.ReferenceImageC24
getset

Reference image for the segmentation of EROIC24 images.

Note that the image is copied internally.

◆ WhiteLayerEncoded

override bool eVision.Segmenters.EReferenceImageSegmenter.WhiteLayerEncoded
set

White layer encoding status.

◆ WhiteLayerIndex

override uint eVision.Segmenters.EReferenceImageSegmenter.WhiteLayerIndex
set

Index of the white layer in the destination coded image.

Setting this property automatically switches on the encoding of the white layer.