ECodedElement Class

This class encapsulates either an object or a hole in an object, in a coded image.

Remarks

This abstract class provides a large set of methods applicable to a particular coded element. The set includes methods to get the features of a coded element, to draw coded elements, and to render flexible masks.

Derived Class(es):EHoleEObject

Namespace: Euresys::Open_eVision_23_12

Methods

Down-casts the coded element as a hole.
Down-casts the coded element as an object.
Computes the convex hull of the coded element.
Computes the Feret box at a specific orientation.
Computes the average gray-level value of the pixels of a given image over the coded element.
Computes the standard deviation of the gray-level values of a given image over the coded element.
Computes the variance of the gray-level values of a given image over the coded element.
Computes the maximum gray level of the pixels of a given image over the coded element.
Computes the minimum gray level of the pixels of a given image over the coded element.
Computes the gravity center of a given image over the coded element.
Returns the number of pixels inside the coded element.
Returns the highest (integer) Y-coordinate of all the pixels of the coded element.
Returns the bounding box of the coded element (Feret box at orientation 0 degrees).
Returns the coordinates of the center of the bounding box of the coded element.
Returns the abscissa of the center of the bounding box of the coded element.
Returns the ordinate of the center of the bounding box of the coded element.
Returns the height of the bounding box (Feret diameter at 90 degrees).
Returns the width of the bounding box (Feret diameter at 0 degrees).
Computes the central, two-dimensional moment of order (p,q).
Returns the coordinates of the starting point of the countour of the coded element.
Returns the abscissa of the starting point of the countour of the coded element.
Returns the ordinate of the starting point of the countour of the coded element.
Returns the eccentricity of the ellipse of inertia.
Returns the index of the coded element.
Returns the angle of the ellipse of inertia.
Returns the length of the short axis of the ellipse of inertia.
Returns the length of the long axis of the ellipse of inertia.
Returns the Feret box at orientation 22.5 degrees.
Returns the coordinates of the center of the Feret box oriented at 22.5 degrees.
Returns the abscissa of the center of the Feret box oriented at 22.5 degrees.
Returns the ordinate of the center of the Feret box oriented at 22.5 degrees.
Returns the height of the Feret box oriented at 22.5 degrees (Feret diameter at 112.5 degrees).
Returns the width of the Feret box oriented at 22.5 degrees (Feret diameter at 22.5 degrees).
Returns the Feret box at orientation 45 degrees.
Returns the coordinates of the center of the Feret box oriented at 45 degrees.
Returns the abscissa of the center of the Feret box oriented at 45 degrees.
Returns the ordinate of the center of the Feret box oriented at 45 degrees.
Returns the height of the Feret box oriented at 45 degrees (Feret diameter at 135 degrees).
Returns the width of the Feret box oriented at 45 degrees (Feret diameter at 45 degrees).
Returns the Feret box at orientation 67.5 degrees.
Returns the coordinates of the center of the Feret box oriented at 67.5 degrees.
Returns the abscissa of the center of the Feret box oriented at 67.5 degrees.
Returns the ordinate of the center of the Feret box oriented at 67.5 degrees.
Returns the height of the Feret box oriented at 67.5 degrees (Feret diameter at 157.5 degrees).
Returns the width of the Feret box oriented at 67.5 degrees (Feret diameter at 67.5 degrees).
Returns the gravity center of the coded element.
Returns the abscissa of the gravity center of the coded element.
Returns the ordinate of the gravity center of the coded element.
Returns the length of the largest run inside the coded element.
Returns the index of the layer in the coded image to which the coded element belongs.
Returns the lowest (integer) X-coordinate of all the pixels of the coded element.
Returns the Minimum-Area Enclosing Rectangle.
Returns the angle of the Minimum-Area Enclosing Rectangle.
Returns the coordinates of the center of the Minimum-Area Enclosing Rectangle.
Returns the abscissa of the center of the Minimum-Area Enclosing Rectangle.
Returns the ordinate of the center of the Minimum-Area Enclosing Rectangle.
Returns the height of the Minimum-Area Enclosing Rectangle.
Returns the width of the Minimum-Area Enclosing Rectangle.
Computes the raw, two-dimensional moment of order (p,q).
Computes the scale-invariant, central, two-dimensional moment of order (p,q).
Returns the highest (integer) X-coordinate of all the pixels of the coded element.
Returns the number of runs inside the coded element.
Returns an iterator to the runs of the coded element.
Returns the centered moment of inertia around X (average squared X-deviation).
Returns the centered cross moment of inertia (average X-deviation * Y-deviation).
Returns the reduced, centered moment of inertia (around the principal inertia axis).
Returns the centered moment of inertia around Y (average squared Y-deviation).
Returns the reduced, centered moment of inertia (around the secondary inertia axis).
Returns the lowest (integer) Y-coordinate of all the pixels of the coded element.
Tests whether the coded element is an object, a hole or a coded element.
Tests whether the coded element is an object, a hole or a coded element.
Tests whether the coded element is an object, a hole or a coded element.
Creates a Flexible Mask from the coded element.
Creates an ERegion from the ECodedElement. The ERegion represents all the pixels which are within the bounding box of the Pattern.

ECodedElement Class

This class encapsulates either an object or a hole in an object, in a coded image.

Remarks

This abstract class provides a large set of methods applicable to a particular coded element. The set includes methods to get the features of a coded element, to draw coded elements, and to render flexible masks.

Derived Class(es):EHoleEObject

Namespace: Euresys.Open_eVision_23_12

Properties

Returns the number of pixels inside the coded element.
Returns the highest (integer) Y-coordinate of all the pixels of the coded element.
Returns the bounding box of the coded element (Feret box at orientation 0 degrees).
Returns the coordinates of the center of the bounding box of the coded element.
Returns the abscissa of the center of the bounding box of the coded element.
Returns the ordinate of the center of the bounding box of the coded element.
Returns the height of the bounding box (Feret diameter at 90 degrees).
Returns the width of the bounding box (Feret diameter at 0 degrees).
Returns the coordinates of the starting point of the countour of the coded element.
Returns the abscissa of the starting point of the countour of the coded element.
Returns the ordinate of the starting point of the countour of the coded element.
Returns the eccentricity of the ellipse of inertia.
Returns the index of the coded element.
Returns the angle of the ellipse of inertia.
Returns the length of the short axis of the ellipse of inertia.
Returns the length of the long axis of the ellipse of inertia.
Returns the Feret box at orientation 22.5 degrees.
Returns the coordinates of the center of the Feret box oriented at 22.5 degrees.
Returns the abscissa of the center of the Feret box oriented at 22.5 degrees.
Returns the ordinate of the center of the Feret box oriented at 22.5 degrees.
Returns the height of the Feret box oriented at 22.5 degrees (Feret diameter at 112.5 degrees).
Returns the width of the Feret box oriented at 22.5 degrees (Feret diameter at 22.5 degrees).
Returns the Feret box at orientation 45 degrees.
Returns the coordinates of the center of the Feret box oriented at 45 degrees.
Returns the abscissa of the center of the Feret box oriented at 45 degrees.
Returns the ordinate of the center of the Feret box oriented at 45 degrees.
Returns the height of the Feret box oriented at 45 degrees (Feret diameter at 135 degrees).
Returns the width of the Feret box oriented at 45 degrees (Feret diameter at 45 degrees).
Returns the Feret box at orientation 67.5 degrees.
Returns the coordinates of the center of the Feret box oriented at 67.5 degrees.
Returns the abscissa of the center of the Feret box oriented at 67.5 degrees.
Returns the ordinate of the center of the Feret box oriented at 67.5 degrees.
Returns the height of the Feret box oriented at 67.5 degrees (Feret diameter at 157.5 degrees).
Returns the width of the Feret box oriented at 67.5 degrees (Feret diameter at 67.5 degrees).
Returns the gravity center of the coded element.
Returns the abscissa of the gravity center of the coded element.
Returns the ordinate of the gravity center of the coded element.
Tests whether the coded element is an object, a hole or a coded element.
Tests whether the coded element is an object, a hole or a coded element.
Tests whether the coded element is an object, a hole or a coded element.
Returns the length of the largest run inside the coded element.
Returns the index of the layer in the coded image to which the coded element belongs.
Returns the lowest (integer) X-coordinate of all the pixels of the coded element.
Returns the Minimum-Area Enclosing Rectangle.
Returns the angle of the Minimum-Area Enclosing Rectangle.
Returns the coordinates of the center of the Minimum-Area Enclosing Rectangle.
Returns the abscissa of the center of the Minimum-Area Enclosing Rectangle.
Returns the ordinate of the center of the Minimum-Area Enclosing Rectangle.
Returns the height of the Minimum-Area Enclosing Rectangle.
Returns the width of the Minimum-Area Enclosing Rectangle.
Returns the highest (integer) X-coordinate of all the pixels of the coded element.
Returns the number of runs inside the coded element.
Returns an iterator to the runs of the coded element.
Returns the centered moment of inertia around X (average squared X-deviation).
Returns the centered cross moment of inertia (average X-deviation * Y-deviation).
Returns the reduced, centered moment of inertia (around the principal inertia axis).
Returns the centered moment of inertia around Y (average squared Y-deviation).
Returns the reduced, centered moment of inertia (around the secondary inertia axis).
Returns the lowest (integer) Y-coordinate of all the pixels of the coded element.

Methods

Down-casts the coded element as a hole.
Down-casts the coded element as an object.
Computes the convex hull of the coded element.
Computes the Feret box at a specific orientation.
Computes the average gray-level value of the pixels of a given image over the coded element.
Computes the standard deviation of the gray-level values of a given image over the coded element.
Computes the variance of the gray-level values of a given image over the coded element.
Computes the maximum gray level of the pixels of a given image over the coded element.
Computes the minimum gray level of the pixels of a given image over the coded element.
Computes the gravity center of a given image over the coded element.
Computes the central, two-dimensional moment of order (p,q).
Computes the raw, two-dimensional moment of order (p,q).
Computes the scale-invariant, central, two-dimensional moment of order (p,q).
Creates a Flexible Mask from the coded element.
Creates an ERegion from the ECodedElement. The ERegion represents all the pixels which are within the bounding box of the Pattern.