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

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

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

Public Member Functions

new void Load (string path)
 Load the EImageRangeSegmenter configuration. The given ESerializer must have been created for reading.
new void Load (eVision.ESerializer serializer)
 Load the EImageRangeSegmenter configuration. The given ESerializer must have been created for reading.
new void Save (string path)
 Save the EImageRangeSegmenter configuration. The given ESerializer must have been created for writing.
new void Save (eVision.ESerializer serializer)
 Save the EImageRangeSegmenter 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 LowImageBW8 [get, set]
 Low image for the segmentation of EROIBW8 images.
eVision.EROIBW8 HighImageBW8 [get, set]
 High image for the segmentation of EROIBW8 images.
eVision.EROIBW16 LowImageBW16 [get, set]
 Low image for the segmentation of EROIBW16 images.
eVision.EROIBW16 HighImageBW16 [get, set]
 High image for the segmentation of EROIBW16 images.
eVision.EROIC24 LowImageC24 [get, set]
 Low image for the segmentation of EROIC24 images.
eVision.EROIC24 HighImageC24 [get, set]
 High 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 double threshold given as two images.

This segmenter is applicable to EROIBW8, EROIBW16 and 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

Member Function Documentation

◆ Load() [1/2]

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

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

Parameters
serializerThe serializer.

◆ Load() [2/2]

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

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

Parameters
pathThe file path.

◆ Save() [1/2]

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

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

Parameters
serializerThe serializer.

◆ Save() [2/2]

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

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

Parameters
pathThe file path.

Property Documentation

◆ BlackLayerEncoded

override bool eVision.Segmenters.EImageRangeSegmenter.BlackLayerEncoded
set

Black layer encoding status.

◆ BlackLayerIndex

override uint eVision.Segmenters.EImageRangeSegmenter.BlackLayerIndex
set

Index of the black layer in the destination coded image.

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

◆ HighImageBW16

eVision.EROIBW16 eVision.Segmenters.EImageRangeSegmenter.HighImageBW16
getset

High image for the segmentation of EROIBW16 images.

◆ HighImageBW8

eVision.EROIBW8 eVision.Segmenters.EImageRangeSegmenter.HighImageBW8
getset

High image for the segmentation of EROIBW8 images.

◆ HighImageC24

eVision.EROIC24 eVision.Segmenters.EImageRangeSegmenter.HighImageC24
getset

High image for the segmentation of EROIC24 images.

◆ LowImageBW16

eVision.EROIBW16 eVision.Segmenters.EImageRangeSegmenter.LowImageBW16
getset

Low image for the segmentation of EROIBW16 images.

◆ LowImageBW8

eVision.EROIBW8 eVision.Segmenters.EImageRangeSegmenter.LowImageBW8
getset

Low image for the segmentation of EROIBW8 images.

◆ LowImageC24

eVision.EROIC24 eVision.Segmenters.EImageRangeSegmenter.LowImageC24
getset

Low image for the segmentation of EROIC24 images.

◆ WhiteLayerEncoded

override bool eVision.Segmenters.EImageRangeSegmenter.WhiteLayerEncoded
set

White layer encoding status.

◆ WhiteLayerIndex

override uint eVision.Segmenters.EImageRangeSegmenter.WhiteLayerIndex
set

Index of the white layer in the destination coded image.

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