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

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

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

Public Member Functions

None Load (self, str path)
 Load the eVision.Segmenters.EColorRangeThresholdSegmenter configuration.
None Load (self, eVision.ESerializer|None serializer)
 Load the eVision.Segmenters.EColorRangeThresholdSegmenter configuration.
None Save (self, str path)
 Save the eVision.Segmenters.EColorRangeThresholdSegmenter configuration.
None Save (self, eVision.ESerializer|None serializer)
 Save the eVision.Segmenters.EColorRangeThresholdSegmenter 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.ETwoLayersImageSegmenter
 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.
 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 color image.

Remarks:

This segmenter is applicable to eVision.EROIC24 RGB color images. It produces coded images with two layers: The White layer (usually, with index 1) contains the unmasked pixels that belong to the cube of the RGB space that spans the low threshold point to the high threshold point; and the Black layer (usually, with index 0) contains the remaining unmasked pixels.

License(s): EasyObject

Member Function Documentation

◆ Load() [1/2]

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

Load the eVision.Segmenters.EColorRangeThresholdSegmenter configuration.

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

Parameters
serializerThe serializer.

Reimplemented from eVision.Segmenters.ETwoLayersImageSegmenter.

◆ Load() [2/2]

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

Load the eVision.Segmenters.EColorRangeThresholdSegmenter configuration.

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

Parameters
pathThe file path.

Reimplemented from eVision.Segmenters.ETwoLayersImageSegmenter.

◆ Save() [1/2]

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

Save the eVision.Segmenters.EColorRangeThresholdSegmenter configuration.

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

Parameters
serializerThe serializer.

Reimplemented from eVision.Segmenters.ETwoLayersImageSegmenter.

◆ Save() [2/2]

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

Save the eVision.Segmenters.EColorRangeThresholdSegmenter configuration.

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

Parameters
pathThe file path.

Reimplemented from eVision.Segmenters.ETwoLayersImageSegmenter.

Property Documentation

◆ HighThreshold

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

Value of the high threshold.

◆ LowThreshold

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

Value of the low threshold.