![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Measure allowing to compute the zeroth to the third moment ponderated by the gray level of each pixel for shape. More...
Classes | |
| class | ipsdk::imaproc::shape::analysis::GreyMomentsMsr |
| Measurement object for measure GreyMoments. More... | |
| class | ipsdk::imaproc::shape::analysis::GreyMomentsMsrInfo |
| Information object for measure GreyMoments. More... | |
| class | ipsdk::imaproc::shape::analysis::GreyMomentsMsrResults |
| Measurement results object for measure GreyMoments. More... | |
Measure allowing to compute the zeroth to the third moment ponderated by the gray level of each pixel for shape.
The GreyMoments measurement computes the
,
,
and
order scale-invariant central moment for each shape, ponderated by the voxels intensities.
The central moment
for a given 2d shape
are computed by :
Where
are the coordinates of the shape grey barycenter (see GreyBarycenter).
The corresponding scale-invariant central moment
is calculated by normalizing
as follows : The central moment
for a given 2d shape
are computed by :
The central grey moments for a 3d shape are computed using the same formula, using the z-axis in addition to the x and y axises [1] :
Where the grey 3d shape barycenter has coordinates
.
The scale-invariant 3d moments can be obtained with the following equation :
Here is an example of 2d grey moment measurement :
[1] "Moments and Moment Invariants in Pattern Recognition, Chap. 2 Moment Invariants to Translation, Rotation and Scaling",Flusser, J.; Suk, T. & Zitova, B., John Wiley & Sons, Ltd, 2009, 13-47
Measure allowing to compute the zeroth to the third 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 GreyMoments is not associated to any unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_NoUnit]
Measure GreyMoments has no parameters
Measure GreyMoments is associated to GreyMomentsMsrResults results
Measure GreyMoments requires row intersections from shape data
Measure GreyMoments 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