| Inertia3dData = | greyInertiaMsr3d (inImg) |
| Inertia3dData = | greyInertiaMsr3d (inImg,inMaskImg) |
Computes the global inertia based on the grey levels of the input 3D image.
This algorithm computes the second order central moment for the entire 3D image, ponderated by the pixels intensities, thanks to the inertia matrix
.
Whose components are computed as follows :
Where
is the image intensity at the position
,
,
and
are the grey barycenter coordinates and
is the set of pixel coordinates in the image.
From these composents, the following descriptors are extracted :
(
,
and
),
,
and
,
and
.Here is an example of result for a 3D grey level image: