![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Compute the sphericity of a 3d shape. More...
Classes | |
| class | ipsdk::imaproc::shape::analysis::Sphericity3dMsr |
| Measurement object for measure Sphericity3d. More... | |
| class | ipsdk::imaproc::shape::analysis::Sphericity3dMsrInfo |
| Information object for measure Sphericity3d. More... | |
Typedefs | |
| typedef HolesBasicPolicyMsrParams | ipsdk::imaproc::shape::analysis::Sphericity3dMsrParams |
| parameter type associated to class | |
Compute the sphericity of a 3d shape.
Defined by Wadell in 1935, the sphericity of a shape is the ratio of the surface area of a sphere with the same volume as the shape to the surface area of the shape:
Where
is the shape area, calculated with Area3d, and
is the shape volume, calculated with Volume3d.
Here is an example of sphericity measurement :
Compute the sphericity of a 3d shape
| Measure Type | Measure Unit Type | Parameter Type | Result Type | Shape Requirements |
|---|---|---|---|---|
Generic |
None |
|
Value (ipsdk::ipReal64) |
Both |
This is a generic measure
This measure can only be used in 3d case
Measure Sphericity3d is not associated to any unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_NoUnit]
Measure Sphericity3d is associated to Sphericity3dMsrParams parameters
Measure Sphericity3d is associated to ipsdk::shape::analysis::ValueMeasureResult<ipsdk::ipReal64> results
Measure Sphericity3d requires row intersections and boundary approximation from shape data
Measure Sphericity3d depends on following measures :
| Measure Mode | Measure Name | Measure Type | Measure Parameters |
|---|---|---|---|
| eMVP_3d | Area3d | Area3d | createHolesBasicPolicyMsrParams(_pMsrParams->getValue<Sphericity3dMsrParams::ProcessHoles>()) |
| eMVP_3d | Volume3d | Volume3d | createHolesBasicPolicyMsrParams(_pMsrParams->getValue<Sphericity3dMsrParams::ProcessHoles>()) |
Generic example in 3d case :
1.8.14