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

Segments an image by mapping the value of the pixels directly to a layer index. More...

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

Public Member Functions

void Load (string path)
 Load the ELabeledImageSegmenter configuration. The given ESerializer must have been created for reading.
void Load (eVision.ESerializer serializer)
 Load the ELabeledImageSegmenter configuration. The given ESerializer must have been created for reading.
void Save (string path)
 Save the ELabeledImageSegmenter configuration. The given ESerializer must have been created for writing.
void Save (eVision.ESerializer serializer)
 Save the ELabeledImageSegmenter configuration. The given ESerializer must have been created for writing.

Properties

eVision.EBW16 MinLayer [get, set]
 Low index of the range of layers to be encoded.
eVision.EBW16 MaxLayer [get, set]
 High index of the range of layers to be encoded.

Detailed Description

Segments an image by mapping the value of the pixels directly to a layer index.

This segmenter is applicable to EROIBW8 and EROIBW16 grayscale images. It produces coded images with a varying number of layers. The layer with index N contains all the unmasked pixels having a gray value equal to N.

By default, the segmentation is restricted to the range of layers whose index is between 0 and 255 (inclusive). This default range can be changed through ELabeledImageSegmenter.MinLayer and ELabeledImageSegmenter.MaxLayer.

License(s): EasyObject

Member Function Documentation

◆ Load() [1/2]

void eVision.Segmenters.ELabeledImageSegmenter.Load ( eVision.ESerializer serializer)

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

Parameters
serializerThe serializer.

◆ Load() [2/2]

void eVision.Segmenters.ELabeledImageSegmenter.Load ( string path)

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

Parameters
pathThe file path.

◆ Save() [1/2]

void eVision.Segmenters.ELabeledImageSegmenter.Save ( eVision.ESerializer serializer)

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

Parameters
serializerThe serializer.

◆ Save() [2/2]

void eVision.Segmenters.ELabeledImageSegmenter.Save ( string path)

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

Parameters
pathThe file path.

Property Documentation

◆ MaxLayer

eVision.EBW16 eVision.Segmenters.ELabeledImageSegmenter.MaxLayer
getset

High index of the range of layers to be encoded.

◆ MinLayer

eVision.EBW16 eVision.Segmenters.ELabeledImageSegmenter.MinLayer
getset

Low index of the range of layers to be encoded.