![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Measure the extent of an object into its bounding box. More...
Classes | |
| class | ipsdk::imaproc::shape::analysis::ExtentMsr |
| Measurement object for measure Extent. More... | |
| class | ipsdk::imaproc::shape::analysis::ExtentMsrInfo |
| Information object for measure Extent. More... | |
Typedefs | |
| typedef HolesBasicPolicyMsrParams | ipsdk::imaproc::shape::analysis::ExtentMsrParams |
| parameter type associated to class | |
Measure the extent of an object into its bounding box.
Extent measure computes the extent of an object into its bounding box, that equals to:
Here is an example of extent measurement (2d case), with "consider holes" parameter set to 'true':
Measure the extent of an object into its bounding box
| Measure Type | Measure Unit Type | Parameter Type | Result Type | Shape Requirements |
|---|---|---|---|---|
Generic |
None |
|
Value (ipsdk::ipReal64) |
Boundary Approximation |
This is a generic measure
This measure can be used in 2d and 3d case
Measure Extent is not associated to any unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_NoUnit]
Measure Extent is associated to ExtentMsrParams parameters
Measure Extent is associated to ipsdk::shape::analysis::ValueMeasureResult<ipsdk::ipReal64> results
Measure Extent requires boundary approximation from shape data
Measure Extent depends on following measures :
| Measure Mode | Measure Name | Measure Type | Measure Parameters |
|---|---|---|---|
| eMVP_2d | Volume | PolygonArea2d | createHolesBasicPolicyMsrParams(_pMsrParams->getValue<ExtentMsrParams::ProcessHoles>()) |
| eMVP_3d | Volume | MeshVolume3d | createHolesBasicPolicyMsrParams(_pMsrParams->getValue<ExtentMsrParams::ProcessHoles>()) |
| eMVP_2d | BoundingBox | BoundingBox2d | |
| eMVP_3d | BoundingBox | BoundingBox3d |
Generic example in 2d case :
Generic example in 3d case :
1.8.14