![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Measure allowing to compute the position of the centroid of the envelope along the x axis. More...
Classes | |
| class | ipsdk::imaproc::shape::analysis::BoundingBoxCenterXMsr |
| Measurement object for measure BoundingBoxCenterX. More... | |
| class | ipsdk::imaproc::shape::analysis::BoundingBoxCenterXMsrInfo |
| Information object for measure BoundingBoxCenterX. More... | |
Measure allowing to compute the position of the centroid of the envelope along the x axis.
This measure computes the x coordinate of the bounding boxes centers calculated for each shape.
Here is an example of x center 2d measurement :
See [Concept] Bounding Box 2d and [Concept] Bounding Box 3d for more details about the bounding box calculation.
Measure allowing to compute the position of the centroid of the envelope along the x axis
| Measure Type | Measure Unit Type | Parameter Type | Result Type | Shape Requirements |
|---|---|---|---|---|
Generic |
Length |
None |
Value (ipsdk::ipReal64) |
Boundary Approximation |
This is a generic measure
This measure can be used in 2d and 3d case
Measure BoundingBoxCenterX is associated to a length measurement unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_LengthUnit]
Measure BoundingBoxCenterX has no parameters
Measure BoundingBoxCenterX is associated to ipsdk::shape::analysis::ValueMeasureResult<ipsdk::ipReal64> results
Measure BoundingBoxCenterX requires boundary approximation from shape data
Measure BoundingBoxCenterX depends on following measures :
| Measure Mode | Measure Name | Measure Type | Measure Parameters |
|---|---|---|---|
| eMVP_2d | BoundingBox | BoundingBox2d | |
| eMVP_3d | BoundingBox | BoundingBox3d |
Generic example in 2d case :
Generic example in 3d case :
1.8.14