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

Segments an image using a double threshold on a grayscale image. More...

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

Public Member Functions

None Load (self, str path)
 Load the eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter configuration.
None Load (self, eVision.ESerializer|None serializer)
 Load the eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter configuration.
None Save (self, str path)
 Save the eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter configuration.
None Save (self, eVision.ESerializer|None serializer)
 Save the eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter configuration.

Properties

 LowThreshold = property(_LowThreshold__getter, _LowThreshold__setter)
 Value of the low threshold.
 HighThreshold = property(_HighThreshold__getter, _HighThreshold__setter)
 Value of the high threshold.
Properties inherited from eVision.Segmenters.EThreeLayersImageSegmenter
 BlackLayerIndex = property(_BlackLayerIndex__getter, _BlackLayerIndex__setter)
 Index of the black layer in the destination coded image.
 BlackLayerEncoded = property(_BlackLayerEncoded__getter, _BlackLayerEncoded__setter)
 Black layer encoding status.
 NeutralLayerIndex = property(_NeutralLayerIndex__getter, _NeutralLayerIndex__setter)
 Index of the neutral layer in the destination coded image.
 NeutralLayerEncoded = property(_NeutralLayerEncoded__getter, _NeutralLayerEncoded__setter)
 Neutral layer encoding status.
 WhiteLayerIndex = property(_WhiteLayerIndex__getter, _WhiteLayerIndex__setter)
 Index of the white layer in the destination coded image.
 WhiteLayerEncoded = property(_WhiteLayerEncoded__getter, _WhiteLayerEncoded__setter)
 White layer encoding status.

Detailed Description

Segments an image using a double threshold on a grayscale image.

Remarks:

This segmenter is applicable to eVision.EROIBW8 and eVision.EROIBW16 grayscale images. It produces coded images with three layers: The Black layer (usually, with index 0) contains the unmasked pixels having a gray value strictly below the low threshold value; the White layer (usually, with index 2) contains the unmasked pixels having a gray value above or equal to the high threshold value; and the Neutral layer (usually, with index 1) contains the remaining unmasked pixels.

License(s): EasyObject

Member Function Documentation

◆ Load() [1/2]

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

Load the eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter configuration.

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

Parameters
serializerThe serializer.

Reimplemented from eVision.Segmenters.EThreeLayersImageSegmenter.

◆ Load() [2/2]

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

Load the eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter configuration.

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

Parameters
pathThe file path.

Reimplemented from eVision.Segmenters.EThreeLayersImageSegmenter.

◆ Save() [1/2]

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

Save the eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter configuration.

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

Parameters
serializerThe serializer.

Reimplemented from eVision.Segmenters.EThreeLayersImageSegmenter.

◆ Save() [2/2]

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

Save the eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter configuration.

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

Parameters
pathThe file path.

Reimplemented from eVision.Segmenters.EThreeLayersImageSegmenter.

Property Documentation

◆ HighThreshold

eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter.HighThreshold = property(_HighThreshold__getter, _HighThreshold__setter)
static

Value of the high threshold.

◆ LowThreshold

eVision.Segmenters.EGrayscaleDoubleThresholdSegmenter.LowThreshold = property(_LowThreshold__getter, _LowThreshold__setter)
static

Value of the low threshold.