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

The various features that can be measured on the coded elements of a selection. More...

Inheritance diagram for eVision.EFeature:
Collaboration diagram for eVision.EFeature:

Static Public Attributes

int ElementIndex = 0
 Index of the coded element (cf.
int LayerIndex = 1
 Index of the layer of the coded element (cf.
int RunCount = 2
 Number of runs (cf.
int Area = 3
 Number of pixels (cf.
int LargestRun = 4
 Length of the largest run (cf.
int ContourX = 5
 Starting point abscissa of the contour of the coded element (cf.
int ContourY = 6
 Starting point ordinate of the contour of the coded element (cf.
int LeftLimit = 7
 Abscissa of the leftmost pixel (cf.
int RightLimit = 8
 Abscissa of the rightmost pixel (cf.
int TopLimit = 9
 Abscissa of the topmost pixel (cf.
int BottomLimit = 10
 Ordinate of the bottommost pixel (cf.
int GravityCenterX = 11
 Abscissa of the gravity center (cf.
int GravityCenterY = 12
 Ordinate of the gravity center (cf.
int BoundingBoxCenterX = 13
 Abscissa of the center of the bounding box (cf.
int BoundingBoxCenterY = 14
 Ordinate of the center of the bounding box (cf.
int BoundingBoxWidth = 15
 Width of the bounding box (Feret diameter 0 degrees - cf.
int BoundingBoxHeight = 16
 Height of the bounding box (Feret diameter 90 degrees - cf.
int FeretBox22CenterX = 17
 Abscissa of the center of the Feret box oriented at 22.5 degrees (cf.
int FeretBox22CenterY = 18
 Ordinate of the center of the Feret box oriented at 22.5 degrees (cf.
int FeretBox22Width = 19
 Width of the Feret box oriented at 22.5 degrees (Feret diameter at 22.5 degrees - cf.
int FeretBox22Height = 20
 Height of the Feret box oriented at 22.5 degrees (Feret diameter at 112.5 degrees - cf.
int FeretBox45CenterX = 21
 Abscissa of the center of the Feret box oriented at 45 degrees (cf.
int FeretBox45CenterY = 22
 Ordinate of the center of the Feret box oriented at 45 degrees (cf.
int FeretBox45Width = 23
 Width of the Feret box oriented at 45 degrees bounding box (Feret diameter at 45 degrees - cf.
int FeretBox45Height = 24
 Height of the Feret box oriented at 45 degrees (Feret diameter at 135 degrees - cf.
int FeretBox68CenterX = 25
 Abscissa of the center of the Feret box oriented at 67.5 degrees (cf.
int FeretBox68CenterY = 26
 Ordinate of the center of the Feret box oriented at 67.5 degrees (cf.
int FeretBox68Width = 27
 Width of the Feret box oriented at 67.5 degrees (Feret diameter at 67.5 degrees - cf.
int FeretBox68Height = 28
 Height of the Feret box oriented at 67.5 degrees (Feret diameter at 157.5 degrees - cf.
int MinimumEnclosingRectangleCenterX = 29
 Abscissa of the Minimum Enclosing Rectangle center (cf.
int MinimumEnclosingRectangleCenterY = 30
 Ordinate of the Minimum Enclosing Rectangle center (cf.
int MinimumEnclosingRectangleWidth = 31
 Width of the Minimum Enclosing Rectangle (cf.
int MinimumEnclosingRectangleHeight = 32
 Height of the Minimum Enclosing Rectangle (cf.
int MinimumEnclosingRectangleAngle = 33
 Direction of the Minimum Enclosing Rectangle (cf.
int SigmaX = 34
 Centered moment of inertia around X (average squared X-deviation - cf.
int SigmaY = 35
 Centered moment of inertia around Y (average squared Y-deviation - cf.
int SigmaXX = 36
 Reduced, centered moment of inertia (around the principal inertia axis - cf.
int SigmaXY = 37
 Centered cross moment of inertia (average X-deviation * Y-deviation - cf.
int SigmaYY = 38
 Reduced, centered moment of inertia (around the secondary inertia axis - cf.
int EllipseWidth = 39
 Long axis of the ellipse of inertia (cf.
int EllipseHeight = 40
 Short axis of the ellipse of inertia (cf.
int EllipseAngle = 41
 Angle of the principal axis of the ellipse of inertia (cf.
int Eccentricity = 42
 Eccentricity of the ellipse of inertia (cf.
int FeretBoxCenterX = 43
 Abscissa of the center of the Feret box oriented at a fixed angle (cf.
int FeretBoxCenterY = 44
 Ordinate of the center of the Feret box oriented at a fixed angle (cf.
int FeretBoxWidth = 45
 Width of the Feret box oriented at a fixed angle (cf.
int FeretBoxHeight = 46
 Height of the Feret box oriented at a fixed angle (cf.
int PixelMin = 47
 Minimum gray level of the pixels of the attached image over the coded element (cf.
int PixelMax = 48
 Maximum gray level of the pixels of the attached image over the coded element (cf.
int WeightedGravityCenterX = 49
 Abscissa of the gravity center of the pixels of the attached image over the coded element (cf.
int WeightedGravityCenterY = 50
 Ordinate of the gravity center of the pixels of the attached image over the coded element (cf.
int PixelGrayAverage = 51
 Average gray-level value of the attached image over the coded element (cf.
int PixelGrayVariance = 52
 Variance of the gray-level value of the attached image over the coded element (cf.
int PixelGrayDeviation = 53
 Standard deviation of the gray-level value of the attached image over the coded element (cf.

Detailed Description

The various features that can be measured on the coded elements of a selection.

Member Data Documentation

◆ Area

int eVision.EFeature.Area = 3
static

Number of pixels (cf.

eVision.ECodedElement.Area).

Remarks:

The area is computed at the pixel level (and not with respect to the input frame of reference).

◆ BottomLimit

int eVision.EFeature.BottomLimit = 10
static

Ordinate of the bottommost pixel (cf.

eVision.ECodedElement.BottomLimit).

Remarks:

The BottomLimit is computed at the pixel level (and not with respect to the input frame of reference).

◆ BoundingBoxCenterX

int eVision.EFeature.BoundingBoxCenterX = 13
static

Abscissa of the center of the bounding box (cf.

eVision.ECodedElement.BoundingBoxCenterX).

Remarks:

The bounding box is computed with respect to the input frame of reference.

◆ BoundingBoxCenterY

int eVision.EFeature.BoundingBoxCenterY = 14
static

Ordinate of the center of the bounding box (cf.

eVision.ECodedElement.BoundingBoxCenterY).

Remarks:

The bounding box is computed with respect to the input frame of reference.

◆ BoundingBoxHeight

int eVision.EFeature.BoundingBoxHeight = 16
static

Height of the bounding box (Feret diameter 90 degrees - cf.

eVision.ECodedElement.BoundingBoxHeight).

Remarks:

The bounding box is computed with respect to the input frame of reference.

◆ BoundingBoxWidth

int eVision.EFeature.BoundingBoxWidth = 15
static

Width of the bounding box (Feret diameter 0 degrees - cf.

eVision.ECodedElement.BoundingBoxWidth).

Remarks:

The bounding box is computed with respect to the input frame of reference.

◆ ContourX

int eVision.EFeature.ContourX = 5
static

Starting point abscissa of the contour of the coded element (cf.

eVision.ECodedElement.ContourX).

Remarks:

The ContourX is computed at the pixel level (and not with respect to the input frame of reference).

◆ ContourY

int eVision.EFeature.ContourY = 6
static

Starting point ordinate of the contour of the coded element (cf.

eVision.ECodedElement.ContourY).

Remarks:

The ContourY is computed at the pixel level (and not with respect to the input frame of reference).

◆ Eccentricity

int eVision.EFeature.Eccentricity = 42
static

Eccentricity of the ellipse of inertia (cf.

eVision.ECodedElement.Eccentricity).

Remarks:

The ellipse of intertia is computed with respect to the input frame of reference.

◆ ElementIndex

int eVision.EFeature.ElementIndex = 0
static

Index of the coded element (cf.

eVision.ECodedElement.ElementIndex).

◆ EllipseAngle

int eVision.EFeature.EllipseAngle = 41
static

Angle of the principal axis of the ellipse of inertia (cf.

eVision.ECodedElement.EllipseAngle).

Remarks:

The ellipse of intertia is computed with respect to the input frame of reference.

◆ EllipseHeight

int eVision.EFeature.EllipseHeight = 40
static

Short axis of the ellipse of inertia (cf.

eVision.ECodedElement.EllipseHeight).

Remarks:

The ellipse of intertia is computed with respect to the input frame of reference.

◆ EllipseWidth

int eVision.EFeature.EllipseWidth = 39
static

Long axis of the ellipse of inertia (cf.

eVision.ECodedElement.EllipseWidth).

Remarks:

The ellipse of intertia is computed with respect to the input frame of reference.

◆ FeretBox22CenterX

int eVision.EFeature.FeretBox22CenterX = 17
static

Abscissa of the center of the Feret box oriented at 22.5 degrees (cf.

eVision.ECodedElement.FeretBox22CenterX).

Remarks:

The Feret box is computed with respect to the input frame of reference.

◆ FeretBox22CenterY

int eVision.EFeature.FeretBox22CenterY = 18
static

Ordinate of the center of the Feret box oriented at 22.5 degrees (cf.

eVision.ECodedElement.FeretBox22CenterY).

Remarks:

The Feret box is computed with respect to the input frame of reference.

◆ FeretBox22Height

int eVision.EFeature.FeretBox22Height = 20
static

Height of the Feret box oriented at 22.5 degrees (Feret diameter at 112.5 degrees - cf.

eVision.ECodedElement.FeretBox22Height).

Remarks:

The Feret box is computed with respect to the input frame of reference.

◆ FeretBox22Width

int eVision.EFeature.FeretBox22Width = 19
static

Width of the Feret box oriented at 22.5 degrees (Feret diameter at 22.5 degrees - cf.

eVision.ECodedElement.FeretBox22Width).

Remarks:

The Feret box is computed with respect to the input frame of reference.

◆ FeretBox45CenterX

int eVision.EFeature.FeretBox45CenterX = 21
static

Abscissa of the center of the Feret box oriented at 45 degrees (cf.

eVision.ECodedElement.FeretBox45CenterX).

Remarks:

The Feret box is computed with respect to the input frame of reference.

◆ FeretBox45CenterY

int eVision.EFeature.FeretBox45CenterY = 22
static

Ordinate of the center of the Feret box oriented at 45 degrees (cf.

eVision.ECodedElement.FeretBox45CenterY).

Remarks:

The Feret box is computed with respect to the input frame of reference.

◆ FeretBox45Height

int eVision.EFeature.FeretBox45Height = 24
static

Height of the Feret box oriented at 45 degrees (Feret diameter at 135 degrees - cf.

eVision.ECodedElement.FeretBox45Height).

Remarks:

The Feret box is computed with respect to the input frame of reference.

◆ FeretBox45Width

int eVision.EFeature.FeretBox45Width = 23
static

Width of the Feret box oriented at 45 degrees bounding box (Feret diameter at 45 degrees - cf.

eVision.ECodedElement.FeretBox45Width).

Remarks:

The Feret box is computed with respect to the input frame of reference.

◆ FeretBox68CenterX

int eVision.EFeature.FeretBox68CenterX = 25
static

Abscissa of the center of the Feret box oriented at 67.5 degrees (cf.

eVision.ECodedElement.FeretBox68CenterX).

Remarks:

The Feret box is computed with respect to the input frame of reference.

◆ FeretBox68CenterY

int eVision.EFeature.FeretBox68CenterY = 26
static

Ordinate of the center of the Feret box oriented at 67.5 degrees (cf.

eVision.ECodedElement.FeretBox68CenterY).

Remarks:

The Feret box is computed with respect to the input frame of reference.

◆ FeretBox68Height

int eVision.EFeature.FeretBox68Height = 28
static

Height of the Feret box oriented at 67.5 degrees (Feret diameter at 157.5 degrees - cf.

eVision.ECodedElement.FeretBox68Height).

Remarks:

The Feret box is computed with respect to the input frame of reference.

◆ FeretBox68Width

int eVision.EFeature.FeretBox68Width = 27
static

Width of the Feret box oriented at 67.5 degrees (Feret diameter at 67.5 degrees - cf.

eVision.ECodedElement.FeretBox68Width).

Remarks:

The Feret box is computed with respect to the input frame of reference.

◆ FeretBoxCenterX

int eVision.EFeature.FeretBoxCenterX = 43
static

Abscissa of the center of the Feret box oriented at a fixed angle (cf.

eVision.ECodedElement.ComputeFeretBox). The angle of interest is set through eVision.EObjectSelection.FeretAngle.

Remarks:

The Feret box is computed with respect to the input frame of reference.

◆ FeretBoxCenterY

int eVision.EFeature.FeretBoxCenterY = 44
static

Ordinate of the center of the Feret box oriented at a fixed angle (cf.

eVision.ECodedElement.ComputeFeretBox). The angle of interest is set through eVision.EObjectSelection.FeretAngle.

Remarks:

The Feret box is computed with respect to the input frame of reference.

◆ FeretBoxHeight

int eVision.EFeature.FeretBoxHeight = 46
static

Height of the Feret box oriented at a fixed angle (cf.

eVision.ECodedElement.ComputeFeretBox). The angle of interest is set through eVision.EObjectSelection.FeretAngle.

Remarks:

The Feret box is computed with respect to the input frame of reference.

◆ FeretBoxWidth

int eVision.EFeature.FeretBoxWidth = 45
static

Width of the Feret box oriented at a fixed angle (cf.

eVision.ECodedElement.ComputeFeretBox). The angle of interest is set through eVision.EObjectSelection.FeretAngle.

Remarks:

The Feret box is computed with respect to the input frame of reference.

◆ GravityCenterX

int eVision.EFeature.GravityCenterX = 11
static

Abscissa of the gravity center (cf.

eVision.ECodedElement.GravityCenterX).

Remarks:

The gravity center is computed with respect to the input frame of reference.

◆ GravityCenterY

int eVision.EFeature.GravityCenterY = 12
static

Ordinate of the gravity center (cf.

eVision.ECodedElement.GravityCenterY).

Remarks:

The gravity center is computed with respect to the input frame of reference.

◆ LargestRun

int eVision.EFeature.LargestRun = 4
static

Length of the largest run (cf.

eVision.ECodedElement.LargestRun).

Remarks:

The largest run is computed at the pixel level (and not with respect to the input frame of reference).

◆ LayerIndex

int eVision.EFeature.LayerIndex = 1
static

Index of the layer of the coded element (cf.

eVision.ECodedElement.LayerIndex).

◆ LeftLimit

int eVision.EFeature.LeftLimit = 7
static

Abscissa of the leftmost pixel (cf.

eVision.ECodedElement.LeftLimit).

Remarks:

The LeftLimit is computed at the pixel level (and not with respect to the input frame of reference).

◆ MinimumEnclosingRectangleAngle

int eVision.EFeature.MinimumEnclosingRectangleAngle = 33
static

Direction of the Minimum Enclosing Rectangle (cf.

eVision.ECodedElement.MinimumEnclosingRectangleAngle).

Remarks:

The minimum enclosing rectangle is computed with respect to the input frame of reference.

◆ MinimumEnclosingRectangleCenterX

int eVision.EFeature.MinimumEnclosingRectangleCenterX = 29
static

Abscissa of the Minimum Enclosing Rectangle center (cf.

eVision.ECodedElement.MinimumEnclosingRectangleCenterX).

Remarks:

The minimum enclosing rectangle is computed with respect to the input frame of reference.

◆ MinimumEnclosingRectangleCenterY

int eVision.EFeature.MinimumEnclosingRectangleCenterY = 30
static

Ordinate of the Minimum Enclosing Rectangle center (cf.

eVision.ECodedElement.MinimumEnclosingRectangleCenterY).

Remarks:

The minimum enclosing rectangle is computed with respect to the input frame of reference.

◆ MinimumEnclosingRectangleHeight

int eVision.EFeature.MinimumEnclosingRectangleHeight = 32
static

Height of the Minimum Enclosing Rectangle (cf.

eVision.ECodedElement.MinimumEnclosingRectangleHeight).

Remarks:

The minimum enclosing rectangle is computed with respect to the input frame of reference.

◆ MinimumEnclosingRectangleWidth

int eVision.EFeature.MinimumEnclosingRectangleWidth = 31
static

Width of the Minimum Enclosing Rectangle (cf.

eVision.ECodedElement.MinimumEnclosingRectangleWidth).

Remarks:

The minimum enclosing rectangle is computed with respect to the input frame of reference.

◆ PixelGrayAverage

int eVision.EFeature.PixelGrayAverage = 51
static

Average gray-level value of the attached image over the coded element (cf.

eVision.ECodedElement.ComputePixelGrayAverage). The attached image is set through eVision.EObjectSelection.AttachedImage.

◆ PixelGrayDeviation

int eVision.EFeature.PixelGrayDeviation = 53
static

Standard deviation of the gray-level value of the attached image over the coded element (cf.

eVision.ECodedElement.ComputePixelGrayDeviation). The attached image is set through eVision.EObjectSelection.AttachedImage.

◆ PixelGrayVariance

int eVision.EFeature.PixelGrayVariance = 52
static

Variance of the gray-level value of the attached image over the coded element (cf.

eVision.ECodedElement.ComputePixelGrayVariance). The attached image is set through eVision.EObjectSelection.AttachedImage.

◆ PixelMax

int eVision.EFeature.PixelMax = 48
static

Maximum gray level of the pixels of the attached image over the coded element (cf.

eVision.ECodedElement.ComputePixelMax). The attached image is set through eVision.EObjectSelection.AttachedImage.

◆ PixelMin

int eVision.EFeature.PixelMin = 47
static

Minimum gray level of the pixels of the attached image over the coded element (cf.

eVision.ECodedElement.ComputePixelMin). The attached image is set through eVision.EObjectSelection.AttachedImage.

◆ RightLimit

int eVision.EFeature.RightLimit = 8
static

Abscissa of the rightmost pixel (cf.

eVision.ECodedElement.RightLimit).

Remarks:

The RightLimit is computed at the pixel level (and not with respect to the input frame of reference).

◆ RunCount

int eVision.EFeature.RunCount = 2
static

Number of runs (cf.

eVision.ECodedElement.RunCount).

Remarks:

The run count is computed at the pixel level (and not with respect to the input frame of reference).

◆ SigmaX

int eVision.EFeature.SigmaX = 34
static

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

eVision.ECodedElement.SigmaX).

Remarks:

The moments of intertia are computed with respect to the input frame of reference.

◆ SigmaXX

int eVision.EFeature.SigmaXX = 36
static

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

eVision.ECodedElement.SigmaXX).

Remarks:

The moments of intertia are computed with respect to the input frame of reference.

◆ SigmaXY

int eVision.EFeature.SigmaXY = 37
static

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

eVision.ECodedElement.SigmaXY).

Remarks:

The moments of intertia are computed with respect to the input frame of reference.

◆ SigmaY

int eVision.EFeature.SigmaY = 35
static

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

eVision.ECodedElement.SigmaY).

Remarks:

The moments of intertia are computed with respect to the input frame of reference.

◆ SigmaYY

int eVision.EFeature.SigmaYY = 38
static

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

eVision.ECodedElement.SigmaYY).

Remarks:

The moments of intertia are computed with respect to the input frame of reference.

◆ TopLimit

int eVision.EFeature.TopLimit = 9
static

Abscissa of the topmost pixel (cf.

eVision.ECodedElement.TopLimit).

Remarks:

The TopLimit is computed at the pixel level (and not with respect to the input frame of reference).

◆ WeightedGravityCenterX

int eVision.EFeature.WeightedGravityCenterX = 49
static

Abscissa of the gravity center of the pixels of the attached image over the coded element (cf.

eVision.ECodedElement.ComputeWeightedGravityCenter). The attached image is set through eVision.EObjectSelection.AttachedImage.

Remarks:

The weighted gravity center is computed with respect to the input frame of reference.

◆ WeightedGravityCenterY

int eVision.EFeature.WeightedGravityCenterY = 50
static

Ordinate of the gravity center of the pixels of the attached image over the coded element (cf.

eVision.ECodedElement.ComputeWeightedGravityCenter). The attached image is set through eVision.EObjectSelection.AttachedImage.

Remarks:

The weighted gravity center is computed with respect to the input frame of reference.