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

The various parameters that can be extracted from a histogram. More...

Inheritance diagram for eVision.ELegacyFeature:
Collaboration diagram for eVision.ELegacyFeature:

Static Public Attributes

int NoFeature = 0
 No feature.
int Class = 1
 Class number.
int RunsNumber = 2
 Number of runs.
int Area = 3
 Number of pixels.
int LargestRun = 4
 Size of the longest run.
int GravityCenterX = 5
 Abscissa of the gravity center.
int GravityCenterY = 6
 Ordinate of the gravity center.
int LimitCenterX = 7
 Abscissa of the center of the bounding box.
int LimitCenterY = 8
 Ordinate of the center of the bounding box.
int LimitWidth = 9
 Width of the bounding box (Feret's diameter 0 degrees).
int LimitHeight = 10
 Height of the bounding box (Feret's diameter 90 degrees).
int Limit45CenterX = 11
 Abscissa of the center of the 45 degrees bounding box.
int Limit45CenterY = 12
 Ordinate of the center of the 45 degrees bounding box.
int Limit45Width = 13
 Width of the 45 degrees bounding box (Feret's diameter 45 degrees).
int Limit45Height = 14
 Height of the 45 degrees bounding box (Feret's diameter 135 degrees).
int ContourX = 15
 Starting point abscissa of the object contour.
int ContourY = 16
 Starting point ordinate of the object contour.
int PixelMin = 17
 Minimum gray level of all pixels.
int PixelMax = 18
 Maximum gray level of all pixels.
int SigmaX = 19
 Centered moment of inertia around X (average squared X-deviation).
int SigmaY = 20
 Centered moment of inertia around Y (average squared Y-deviation).
int SigmaXY = 21
 Centered cross moment of inertia (average X-deviation * Y-deviation).
int SigmaXX = 22
 Reduced, centered moment of inertia (around the principal inertia axis).
int SigmaYY = 23
 Reduced, centered moment of inertia (around the secondary inertia axis).
int EllipseWidth = 24
 Long axis of the ellipse of inertia.
int EllipseHeight = 25
 Short axis of the ellipse of inertia.
int EllipseAngle = 26
 Direction of the principal axis of inertia.
int CentroidX = 27
 Abscissa of the weighted gravity center.
int CentroidY = 28
 Ordinate of the weighted gravity center.
int PixelGrayAverage = 29
 Average gray-level value of the object pixels.
int PixelGrayVariance = 30
 Variance of the gray-level value of the object pixels.
int Limit22CenterX = 31
 Abscissa of the center of the 22.5 degrees bounding box.
int Limit22CenterY = 32
 Ordinate of the center of the 22.5 degrees bounding box.
int Limit22Width = 33
 Width of the 22.5 degrees bounding box (Feret's diameter 22.5 degrees).
int Limit22Height = 34
 Height the 22.5 degrees bounding box (Feret's diameter 112.5 degrees).
int Limit68CenterX = 35
 Abscissa of the center of the 67.5 degrees bounding box.
int Limit68CenterY = 36
 Ordinate of the center of the 67.5 degrees bounding box.
int Limit68Width = 37
 Width of the 67.5 degrees bounding box (Feret's diameter 67.5 degrees).
int Limit68Height = 38
 Height of the 67.5 degrees bounding box (Feret's diameter 157.5 degrees).
int LimitAngledCenterX = 39
 Abscissa of the center of the bounding box having a skew angle defined by the LimitAngle property.
int LimitAngledCenterY = 40
 Ordinate of the center of the bounding box having a skew angle defined by the LimitAngle property.
int LimitAngledWidth = 41
 Width of the bounding box having a skew angle defined by the LimitAngle property (Feret's diameter [LimitAngle]).
int LimitAngledHeight = 42
 Height of the bounding box having a skew angle defined by the LimitAngle property (Feret's diameter [LimitAngle + 90 degrees]).
int FeretCenterX = 43
 Abscissa of the Feret's bounding box center.
int FeretCenterY = 44
 Ordinate of the Feret's bounding box center.
int FeretWidth = 45
 Width of the Feret's bounding box.
int FeretHeight = 46
 Height of the Feret's bounding box.
int FeretAngle = 47
 Direction of the Feret's bounding box.
int ObjectNumber = 48
 Identification number.
int GravityCenter = 5
 Abscissa of the gravity center.
int Limit = 7
 Abscissa of the center of the bounding box.
int Limit22 = 31
 Abscissa of the center of the 22.5 degrees bounding box.
int Limit45 = 11
 Abscissa of the center of the 45 degrees bounding box.
int Limit68 = 35
 Abscissa of the center of the 67.5 degrees bounding box.
int LimitAngled = 39
 Abscissa of the center of the bounding box having a skew angle defined by the LimitAngle property.
int Ellipse = 24
 Long axis of the ellipse of inertia.
int Centroid = 27
 Abscissa of the weighted gravity center.
int Feret = 43
 Abscissa of the Feret's bounding box center.

Detailed Description

The various parameters that can be extracted from a histogram.

This enumeration pertains to the EasyObject legacy API. Please use eVision.ECodedImage2 instead.

Member Data Documentation

◆ Area

int eVision.ELegacyFeature.Area = 3
static

Number of pixels.

(Signed Integer).

◆ Centroid

int eVision.ELegacyFeature.Centroid = 27
static

Abscissa of the weighted gravity center.

(Float). (*)

◆ CentroidX

int eVision.ELegacyFeature.CentroidX = 27
static

Abscissa of the weighted gravity center.

(Float). (*)

◆ CentroidY

int eVision.ELegacyFeature.CentroidY = 28
static

Ordinate of the weighted gravity center.

(Float). (*)

◆ Class

int eVision.ELegacyFeature.Class = 1
static

Class number.

◆ ContourX

int eVision.ELegacyFeature.ContourX = 15
static

Starting point abscissa of the object contour.

(Signed Integer).

◆ ContourY

int eVision.ELegacyFeature.ContourY = 16
static

Starting point ordinate of the object contour.

(Signed Integer).

◆ Ellipse

int eVision.ELegacyFeature.Ellipse = 24
static

Long axis of the ellipse of inertia.

(Float). (*)

◆ EllipseAngle

int eVision.ELegacyFeature.EllipseAngle = 26
static

Direction of the principal axis of inertia.

(Float). (*)

◆ EllipseHeight

int eVision.ELegacyFeature.EllipseHeight = 25
static

Short axis of the ellipse of inertia.

(Float). (*)

◆ EllipseWidth

int eVision.ELegacyFeature.EllipseWidth = 24
static

Long axis of the ellipse of inertia.

(Float). (*)

◆ Feret

int eVision.ELegacyFeature.Feret = 43
static

Abscissa of the Feret's bounding box center.

(Float). (*)

◆ FeretAngle

int eVision.ELegacyFeature.FeretAngle = 47
static

Direction of the Feret's bounding box.

(Float). (*)

◆ FeretCenterX

int eVision.ELegacyFeature.FeretCenterX = 43
static

Abscissa of the Feret's bounding box center.

(Float). (*)

◆ FeretCenterY

int eVision.ELegacyFeature.FeretCenterY = 44
static

Ordinate of the Feret's bounding box center.

(Float). (*)

◆ FeretHeight

int eVision.ELegacyFeature.FeretHeight = 46
static

Height of the Feret's bounding box.

(Float). (*)

◆ FeretWidth

int eVision.ELegacyFeature.FeretWidth = 45
static

Width of the Feret's bounding box.

(Float). (*)

◆ GravityCenter

int eVision.ELegacyFeature.GravityCenter = 5
static

Abscissa of the gravity center.

(Float). (*)

◆ GravityCenterX

int eVision.ELegacyFeature.GravityCenterX = 5
static

Abscissa of the gravity center.

(Float). (*)

◆ GravityCenterY

int eVision.ELegacyFeature.GravityCenterY = 6
static

Ordinate of the gravity center.

(Float). (*)

◆ LargestRun

int eVision.ELegacyFeature.LargestRun = 4
static

Size of the longest run.

(Signed Integer).

◆ Limit

int eVision.ELegacyFeature.Limit = 7
static

Abscissa of the center of the bounding box.

(Float). (*)

◆ Limit22

int eVision.ELegacyFeature.Limit22 = 31
static

Abscissa of the center of the 22.5 degrees bounding box.

(Float). (*)

◆ Limit22CenterX

int eVision.ELegacyFeature.Limit22CenterX = 31
static

Abscissa of the center of the 22.5 degrees bounding box.

(Float). (*)

◆ Limit22CenterY

int eVision.ELegacyFeature.Limit22CenterY = 32
static

Ordinate of the center of the 22.5 degrees bounding box.

(Float). (*)

◆ Limit22Height

int eVision.ELegacyFeature.Limit22Height = 34
static

Height the 22.5 degrees bounding box (Feret's diameter 112.5 degrees).

(Float). (*)

◆ Limit22Width

int eVision.ELegacyFeature.Limit22Width = 33
static

Width of the 22.5 degrees bounding box (Feret's diameter 22.5 degrees).

(Float). (*)

◆ Limit45

int eVision.ELegacyFeature.Limit45 = 11
static

Abscissa of the center of the 45 degrees bounding box.

(Float). (*)

◆ Limit45CenterX

int eVision.ELegacyFeature.Limit45CenterX = 11
static

Abscissa of the center of the 45 degrees bounding box.

(Float). (*)

◆ Limit45CenterY

int eVision.ELegacyFeature.Limit45CenterY = 12
static

Ordinate of the center of the 45 degrees bounding box.

(Float). (*)

◆ Limit45Height

int eVision.ELegacyFeature.Limit45Height = 14
static

Height of the 45 degrees bounding box (Feret's diameter 135 degrees).

(Float). (*)

◆ Limit45Width

int eVision.ELegacyFeature.Limit45Width = 13
static

Width of the 45 degrees bounding box (Feret's diameter 45 degrees).

(Float). (*)

◆ Limit68

int eVision.ELegacyFeature.Limit68 = 35
static

Abscissa of the center of the 67.5 degrees bounding box.

(Float). (*)

◆ Limit68CenterX

int eVision.ELegacyFeature.Limit68CenterX = 35
static

Abscissa of the center of the 67.5 degrees bounding box.

(Float). (*)

◆ Limit68CenterY

int eVision.ELegacyFeature.Limit68CenterY = 36
static

Ordinate of the center of the 67.5 degrees bounding box.

(Float). (*)

◆ Limit68Height

int eVision.ELegacyFeature.Limit68Height = 38
static

Height of the 67.5 degrees bounding box (Feret's diameter 157.5 degrees).

(Float). (*)

◆ Limit68Width

int eVision.ELegacyFeature.Limit68Width = 37
static

Width of the 67.5 degrees bounding box (Feret's diameter 67.5 degrees).

(Float). (*)

◆ LimitAngled

int eVision.ELegacyFeature.LimitAngled = 39
static

Abscissa of the center of the bounding box having a skew angle defined by the LimitAngle property.

(Float).

◆ LimitAngledCenterX

int eVision.ELegacyFeature.LimitAngledCenterX = 39
static

Abscissa of the center of the bounding box having a skew angle defined by the LimitAngle property.

(Float).

◆ LimitAngledCenterY

int eVision.ELegacyFeature.LimitAngledCenterY = 40
static

Ordinate of the center of the bounding box having a skew angle defined by the LimitAngle property.

(Float).

◆ LimitAngledHeight

int eVision.ELegacyFeature.LimitAngledHeight = 42
static

Height of the bounding box having a skew angle defined by the LimitAngle property (Feret's diameter [LimitAngle + 90 degrees]).

(Float).

◆ LimitAngledWidth

int eVision.ELegacyFeature.LimitAngledWidth = 41
static

Width of the bounding box having a skew angle defined by the LimitAngle property (Feret's diameter [LimitAngle]).

(Float).

◆ LimitCenterX

int eVision.ELegacyFeature.LimitCenterX = 7
static

Abscissa of the center of the bounding box.

(Float). (*)

◆ LimitCenterY

int eVision.ELegacyFeature.LimitCenterY = 8
static

Ordinate of the center of the bounding box.

(Float). (*)

◆ LimitHeight

int eVision.ELegacyFeature.LimitHeight = 10
static

Height of the bounding box (Feret's diameter 90 degrees).

(Float). (*)

◆ LimitWidth

int eVision.ELegacyFeature.LimitWidth = 9
static

Width of the bounding box (Feret's diameter 0 degrees).

(Float). (*)

◆ NoFeature

int eVision.ELegacyFeature.NoFeature = 0
static

No feature.

◆ ObjectNumber

int eVision.ELegacyFeature.ObjectNumber = 48
static

Identification number.

◆ PixelGrayAverage

int eVision.ELegacyFeature.PixelGrayAverage = 29
static

Average gray-level value of the object pixels.

(Float).

◆ PixelGrayVariance

int eVision.ELegacyFeature.PixelGrayVariance = 30
static

Variance of the gray-level value of the object pixels.

(Float).

◆ PixelMax

int eVision.ELegacyFeature.PixelMax = 18
static

Maximum gray level of all pixels.

(Signed Integer).

◆ PixelMin

int eVision.ELegacyFeature.PixelMin = 17
static

Minimum gray level of all pixels.

(Signed Integer).

◆ RunsNumber

int eVision.ELegacyFeature.RunsNumber = 2
static

Number of runs.

◆ SigmaX

int eVision.ELegacyFeature.SigmaX = 19
static

Centered moment of inertia around X (average squared X-deviation).

(Float).

◆ SigmaXX

int eVision.ELegacyFeature.SigmaXX = 22
static

Reduced, centered moment of inertia (around the principal inertia axis).

(Float).

◆ SigmaXY

int eVision.ELegacyFeature.SigmaXY = 21
static

Centered cross moment of inertia (average X-deviation * Y-deviation).

(Float).

◆ SigmaY

int eVision.ELegacyFeature.SigmaY = 20
static

Centered moment of inertia around Y (average squared Y-deviation).

(Float).

◆ SigmaYY

int eVision.ELegacyFeature.SigmaYY = 23
static

Reduced, centered moment of inertia (around the secondary inertia axis).

(Float).