![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Measure allowing to compute the barycenter ponderated by the gray level of each pixel for shape. More...
Classes | |
| class | ipsdk::imaproc::shape::analysis::GreyBarycenterMsr |
| Measurement object for measure GreyBarycenter. More... | |
| class | ipsdk::imaproc::shape::analysis::GreyBarycenterMsrInfo |
| Information object for measure GreyBarycenter. More... | |
| class | ipsdk::imaproc::shape::analysis::GreyBarycenterMsrResults |
| Measurement results object for measure GreyBarycenter. More... | |
Measure allowing to compute the barycenter ponderated by the gray level of each pixel for shape.
The coordinates
of the grey barycenter for a given 2d or 3d shape are computed as follows :
Where
is the set of pixels in the shape and
is the number of elements (i.e. pixels in 2d case or voxels in 3d case) of the shape.
Here is an example of 2d grey barycenter measurement :
Measure allowing to compute the barycenter 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 GreyBarycenter is not associated to any unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_NoUnit]
Measure GreyBarycenter has no parameters
Measure GreyBarycenter is associated to GreyBarycenterMsrResults results
Measure GreyBarycenter requires row intersections from shape data
Measure GreyBarycenter depends on following measures :
| Measure Mode | Measure Name | Measure Type | Measure Parameters |
|---|---|---|---|
| eMVP_2d3d | Sum | Sum |
Generic example in 2d case :
Generic example in 3d case :
1.8.14