eVision Python API
Loading...
Searching...
No Matches
eVision.Segmenters.EThreeLayersImageSegmenter Class Reference

The base class from which all the segmenters that produce three layers derive. More...

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

Public Member Functions

None Load (self, str path)
 Load the eVision.Segmenters.EThreeLayersImageSegmenter configuration.
None Load (self, eVision.ESerializer|None serializer)
 Load the eVision.Segmenters.EThreeLayersImageSegmenter configuration.
None Save (self, str path)
 Save the eVision.Segmenters.EThreeLayersImageSegmenter configuration.
None Save (self, eVision.ESerializer|None serializer)
 Save the eVision.Segmenters.EThreeLayersImageSegmenter 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 NeutralLayerIndex (self)
 Index of the neutral layer in the destination coded image.
 NeutralLayerIndex (self, int value)
 Index of the neutral layer in the destination coded image.
bool NeutralLayerEncoded (self)
 Neutral layer encoding status.
 NeutralLayerEncoded (self, bool value)
 Neutral 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.

Detailed Description

The base class from which all the segmenters that produce three layers derive.

Remarks:

The Layer Encoding can be enabled/disabled for each layer individually. The index of the layers in the coded image can also be assigned individually.

License(s): EasyObject

Member Function Documentation

◆ BlackLayerEncoded() [1/2]

bool eVision.Segmenters.EThreeLayersImageSegmenter.BlackLayerEncoded ( self)

Black layer encoding status.

◆ BlackLayerEncoded() [2/2]

eVision.Segmenters.EThreeLayersImageSegmenter.BlackLayerEncoded ( self,
bool value )

Black layer encoding status.

◆ BlackLayerIndex() [1/2]

int eVision.Segmenters.EThreeLayersImageSegmenter.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.

◆ BlackLayerIndex() [2/2]

eVision.Segmenters.EThreeLayersImageSegmenter.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.

◆ Load() [1/2]

None eVision.Segmenters.EThreeLayersImageSegmenter.Load ( self,
eVision.ESerializer | None serializer )

Load the eVision.Segmenters.EThreeLayersImageSegmenter configuration.

The given eVision.ESerializer must have been created for reading.

Parameters
serializerThe serializer.

Reimplemented in eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter, and eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter.

◆ Load() [2/2]

None eVision.Segmenters.EThreeLayersImageSegmenter.Load ( self,
str path )

Load the eVision.Segmenters.EThreeLayersImageSegmenter configuration.

The given eVision.ESerializer must have been created for reading.

Parameters
pathThe file path.

Reimplemented in eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter, and eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter.

◆ NeutralLayerEncoded() [1/2]

bool eVision.Segmenters.EThreeLayersImageSegmenter.NeutralLayerEncoded ( self)

Neutral layer encoding status.

◆ NeutralLayerEncoded() [2/2]

eVision.Segmenters.EThreeLayersImageSegmenter.NeutralLayerEncoded ( self,
bool value )

Neutral layer encoding status.

◆ NeutralLayerIndex() [1/2]

int eVision.Segmenters.EThreeLayersImageSegmenter.NeutralLayerIndex ( self)

Index of the neutral layer in the destination coded image.

Remarks:

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

◆ NeutralLayerIndex() [2/2]

eVision.Segmenters.EThreeLayersImageSegmenter.NeutralLayerIndex ( self,
int value )

Index of the neutral layer in the destination coded image.

Remarks:

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

◆ Save() [1/2]

None eVision.Segmenters.EThreeLayersImageSegmenter.Save ( self,
eVision.ESerializer | None serializer )

Save the eVision.Segmenters.EThreeLayersImageSegmenter configuration.

The given eVision.ESerializer must have been created for writing.

Parameters
serializerThe serializer.

Reimplemented in eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter, and eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter.

◆ Save() [2/2]

None eVision.Segmenters.EThreeLayersImageSegmenter.Save ( self,
str path )

Save the eVision.Segmenters.EThreeLayersImageSegmenter configuration.

The given eVision.ESerializer must have been created for writing.

Parameters
pathThe file path.

Reimplemented in eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter, and eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter.

◆ WhiteLayerEncoded() [1/2]

bool eVision.Segmenters.EThreeLayersImageSegmenter.WhiteLayerEncoded ( self)

White layer encoding status.

◆ WhiteLayerEncoded() [2/2]

eVision.Segmenters.EThreeLayersImageSegmenter.WhiteLayerEncoded ( self,
bool value )

White layer encoding status.

◆ WhiteLayerIndex() [1/2]

int eVision.Segmenters.EThreeLayersImageSegmenter.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.

◆ WhiteLayerIndex() [2/2]

eVision.Segmenters.EThreeLayersImageSegmenter.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.