EasyObject::ContourInertia
This method is deprecated: Use EasyObject::ContourStatistics
instead.
Computes the inertia parameters of an object In a general content, the term object should be understood with the meaning of a class instance. In EasyObject, an object is a maximally-sized area of adjacent connected pixels belonging to the layer foreground. from its contour.
Namespace: Euresys::Open_eVision
[C++]
[[deprecated("Use EasyObject::ContourStatistics
instead.")]]
static void ContourInertia(
EPathVector
* pPathVector,
int& n32Area,
float& f32GravityCenterX,
float& f32GravityCenterY,
float& f32SigmaX,
float& f32SigmaY,
float& f32SigmaXY
)
Parameters
pPathVector
Pointer to the source vector.
n32Area
Reference to the area to compute.
f32GravityCenterX
Reference to the abscissa of the gravity center to compute.
f32GravityCenterY
Reference to the ordinate of the gravity center to compute.
f32SigmaX
Centered moment of inertia around X.
f32SigmaY
Centered moment of inertia around Y.
f32SigmaXY
Centered cross moment of inertia.
EasyObject.ContourInertia
This method is deprecated: Use EasyObject.ContourStatistics
instead.
Computes the inertia parameters of an object from its contour.
Namespace: Euresys.Open_eVision
[C#]
[Obsolete("Use EasyObject.ContourStatistics
instead.")]
static void ContourInertia(
EPathVector
pPathVector,
ref int n32Area,
ref float f32GravityCenterX,
ref float f32GravityCenterY,
ref float f32SigmaX,
ref float f32SigmaY,
ref float f32SigmaXY
)
Parameters
pPathVector
Pointer to the source vector.
n32Area
Reference to the area to compute.
f32GravityCenterX
Reference to the abscissa of the gravity center to compute.
f32GravityCenterY
Reference to the ordinate of the gravity center to compute.
f32SigmaX
Centered moment of inertia around X.
f32SigmaY
Centered moment of inertia around Y.
f32SigmaXY
Centered cross moment of inertia.
ContourInertia
Sorry, this function does not exist in Python.