![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Measure allowing to compute the position of the centroid of the minimal oriented bounding box along the z axis. More...
Classes | |
| class | ipsdk::imaproc::shape::analysis::OBBCenterZMsr |
| Measurement object for measure OBBCenterZ. More... | |
| class | ipsdk::imaproc::shape::analysis::OBBCenterZMsrInfo |
| Information object for measure OBBCenterZ. More... | |
| class | ipsdk::imaproc::shape::analysis::OBBCenterZMsrParams |
| Parameter object for measure OBBCenterZ. More... | |
Functions | |
| IPSDKIPLSHAPEANALYSIS_API OBBCenterZMsrParamsPtr | ipsdk::imaproc::shape::analysis::createOBBCenterZMsrParams (ipUInt32 nbOrientations=36) |
| function allowing to create a new parameter object for OBBCenterZ measure | |
Measure allowing to compute the position of the centroid of the minimal oriented bounding box along the z axis.
This measure computes the position along the z axis of the centroid of the oriented minimal bounding box for each shape.
In the case of 2d images, the center's coordinate along the z-axis is set to 0.
Here is an example of z center 2d measurement :
See OrientedBoundingBox3d
for more details about the oriented bounding box calculation.
Measure allowing to compute the position of the centroid of the minimal oriented bounding box along the z axis
| Measure Type | Measure Unit Type | Parameter Type | Result Type | Shape Requirements |
|---|---|---|---|---|
Generic |
Length |
|
Value (ipsdk::ipReal64) |
Both |
This is a generic measure
This measure can only be used in 3d case
Measure OBBCenterZ is associated to a length measurement unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_LengthUnit]
Measure OBBCenterZ is associated to OBBCenterZMsrParams parameters
Measure OBBCenterZ is associated to ipsdk::shape::analysis::ValueMeasureResult<ipsdk::ipReal64> results
Measure OBBCenterZ requires row intersections and boundary approximation from shape data
Measure OBBCenterZ depends on following measures :
| Measure Mode | Measure Name | Measure Type | Measure Parameters |
|---|---|---|---|
| eMVP_3d | OrientedBoundingBox | OrientedBoundingBox3d | createOrientedBoundingBox3dMsrParams(_pMsrParams->getValue<OBBCenterZMsrParams::NbOrientations>()) |
Generic example in 3d case :
1.8.14