![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Measure allowing to compute the y-coordinate of the barycenter ponderated by the gray level of each pixel for shape. More...
Classes | |
| class | ipsdk::imaproc::shape::analysis::GreyBarycenterYMsr |
| Measurement object for measure GreyBarycenterY. More... | |
| class | ipsdk::imaproc::shape::analysis::GreyBarycenterYMsrInfo |
| Information object for measure GreyBarycenterY. More... | |
Measure allowing to compute the y-coordinate of 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 y-barycenter measurement :
Measure allowing to compute the y-coordinate of the barycenter ponderated by the gray level of each pixel for shape
| Measure Type | Measure Unit Type | Parameter Type | Result Type | Shape Requirements |
|---|---|---|---|---|
Generic |
Length |
None |
Value (ipsdk::ipReal64) |
Row Intersections |
This is a generic measure
This measure can be used in 2d and 3d case
Measure GreyBarycenterY is associated to a length measurement unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_LengthUnit]
Measure GreyBarycenterY has no parameters
Measure GreyBarycenterY is associated to ipsdk::shape::analysis::ValueMeasureResult<ipsdk::ipReal64> results
Measure GreyBarycenterY requires row intersections from shape data
Measure GreyBarycenterY 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