![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Measure allowing to compute the second order moment ponderated by the gray level of each pixel for shape. More...
Classes | |
| class | ipsdk::imaproc::shape::analysis::GreyInertiaMsr |
| Measurement object for measure GreyInertia. More... | |
| class | ipsdk::imaproc::shape::analysis::GreyInertiaMsrInfo |
| Information object for measure GreyInertia. More... | |
| class | ipsdk::imaproc::shape::analysis::GreyInertiaMsrResults |
| Measurement results object for measure GreyInertia. More... | |
Measure allowing to compute the second order moment ponderated by the gray level of each pixel for shape.
The GreyInertia measurement computes the second order central moment for each shape, ponderated by the voxels intensities, thanks to the inertia matrix
.
Whose the components are computed as follows :
Where
is the image intensity at the position
,
,
and
are the grey barycenter coordinates (see GreyBarycenter) and
is the voxel collection of the current shape.
From these composents, three descriptors are extracted in 2d : the minimum and maximum eigen values of
(
and
) and the shape orientation
.
These features are calculated as follows :
and
are proportional to the squared length of the eigenvector axes, represented by green arrows in the figure below.
In 3d case, other features are available. They are calculated as follows :
Where :
And
Moreover, the 2d rotation angle
is replaced by the 3d rotation angles
,
and
, calculated with the coefficients of
:
Here is an example of the grey inertia calculated from a 2d input image :
Measure allowing to compute the second order moment ponderated by the gray level of each pixel for shape
| Measure Type | Measure Unit Type | Parameter Type | Result Type | Shape Requirements |
|---|---|---|---|---|
Intensity |
None |
None |
Custom |
Row Intersections |
This is an intensity measure
This measure can be used in 2d and 3d case
Measure GreyInertia is not associated to any unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_NoUnit]
Measure GreyInertia has no parameters
Measure GreyInertia is associated to GreyInertiaMsrResults results
Measure GreyInertia requires row intersections from shape data
Measure GreyInertia depends on following measures :
| Measure Mode | Measure Name | Measure Type | Measure Parameters |
|---|---|---|---|
| eMVP_2d3d | GreyBarycenter | GreyBarycenter |
Generic example in 2d case :
Generic example in 3d case :
1.8.14