![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Measure the extent of an object into its oriented bounding box. More...
Classes | |
| class | ipsdk::imaproc::shape::analysis::OrientedExtentMsr |
| Measurement object for measure OrientedExtent. More... | |
| class | ipsdk::imaproc::shape::analysis::OrientedExtentMsrInfo |
| Information object for measure OrientedExtent. More... | |
| class | ipsdk::imaproc::shape::analysis::OrientedExtentMsrParams |
| Parameter object for measure OrientedExtent. More... | |
Functions | |
| IPSDKIPLSHAPEANALYSIS_API OrientedExtentMsrParamsPtr | ipsdk::imaproc::shape::analysis::createOrientedExtentMsrParams (const ipBool bProcessHoles, const ipUInt32 nbOrientations=36) |
| function allowing to create a new parameter object for OrientedExtent measure | |
Measure the extent of an object into its oriented bounding box.
Oriented extent measure computes the extent of an object into its oriented bounding box, that equals to:
Here is an example of oriented extent measurement (2d case), with "consider holes" parameter set to 'true':
Measure the extent of an object into its oriented bounding box
| 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 be used in 2d and 3d case
Measure OrientedExtent is not associated to any unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_NoUnit]
Measure OrientedExtent is associated to OrientedExtentMsrParams parameters
Measure OrientedExtent is associated to ipsdk::shape::analysis::ValueMeasureResult<ipsdk::ipReal64> results
Measure OrientedExtent requires row intersections and boundary approximation from shape data
Measure OrientedExtent depends on following measures :
| Measure Mode | Measure Name | Measure Type | Measure Parameters |
|---|---|---|---|
| eMVP_2d | Volume | PolygonArea2d | createHolesBasicPolicyMsrParams(_pMsrParams->getValue<OrientedExtentMsrParams::ProcessHoles>()) |
| eMVP_3d | Volume | MeshVolume3d | createHolesBasicPolicyMsrParams(_pMsrParams->getValue<OrientedExtentMsrParams::ProcessHoles>()) |
| eMVP_2d | OrientedBoundingBox | OrientedBoundingBox2d | createOrientedBoundingBox2dMsrParams(_pMsrParams->getValue<OrientedExtentMsrParams::NbOrientations>()) |
| eMVP_3d | OrientedBoundingBox | OrientedBoundingBox3d | createOrientedBoundingBox3dMsrParams(_pMsrParams->getValue<OrientedExtentMsrParams::NbOrientations>()) |
Generic example in 2d case :
Generic example in 3d case :
1.8.14