eVision Python API
Loading...
Searching...
No Matches
eVision.EasyObject Class Reference

This class contains static properties and methods specific to the eVision.EasyObject library. More...

Static Public Member Functions

bool IsUnsignedIntegerFeature (eVision.EFeature feature)
 Tests whether a given feature is associated with unsigned integer values.
bool IsIntegerFeature (eVision.EFeature feature)
 Tests whether a given feature is associated with integer values.
bool IsFloatFeature (eVision.EFeature feature)
 Tests whether a given feature is associated with floating-point values.
int ContourArea (eVision.EPathVector|None pPathVector)
 Computes the area of an object from its contour.
eVision.EObjectBasicStatistics ContourStatistics (eVision.EPathVector|None pPathVector)
 Computes the basic statistics of an object from its contour.

Detailed Description

This class contains static properties and methods specific to the eVision.EasyObject library.

Remarks:

License(s): EasyObject

Member Function Documentation

◆ ContourArea()

int eVision.EasyObject.ContourArea ( eVision.EPathVector | None pPathVector)
static

Computes the area of an object from its contour.

Parameters
pPathVectorPointer to the source vector.

◆ ContourStatistics()

eVision.EObjectBasicStatistics eVision.EasyObject.ContourStatistics ( eVision.EPathVector | None pPathVector)
static

Computes the basic statistics of an object from its contour.

Parameters
pPathVectorPointer to the source vector.

◆ IsFloatFeature()

bool eVision.EasyObject.IsFloatFeature ( eVision.EFeature feature)
static

Tests whether a given feature is associated with floating-point values.

Remarks:

Most features are floating-point. The exceptions are listed in these functions: eVision.EasyObject.IsUnsignedIntegerFeature and eVision.EasyObject.IsIntegerFeature.

Parameters
featureThe feature.

◆ IsIntegerFeature()

bool eVision.EasyObject.IsIntegerFeature ( eVision.EFeature feature)
static

Tests whether a given feature is associated with integer values.

Remarks:

The features associated with integer values are: eVision.EFeature.ContourX, eVision.EFeature.ContourY, eVision.EFeature.LeftLimit, eVision.EFeature.RightLimit, eVision.EFeature.TopLimit, and eVision.EFeature.BottomLimit.

Parameters
featureThe feature.

◆ IsUnsignedIntegerFeature()

bool eVision.EasyObject.IsUnsignedIntegerFeature ( eVision.EFeature feature)
static

Tests whether a given feature is associated with unsigned integer values.

Remarks:

The features associated with unsigned integer values are: eVision.EFeature.ElementIndex, eVision.EFeature.LayerIndex, eVision.EFeature.RunCount, eVision.EFeature.Area and eVision.EFeature.LargestRun.

Parameters
featureThe feature.