![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
3d Oriented bounding box fitting a shape More...
Classes | |
| class | ipsdk::imaproc::shape::analysis::OrientedBoundingBox3dMsr |
| Measurement object for measure OrientedBoundingBox3d. More... | |
| class | ipsdk::imaproc::shape::analysis::OrientedBoundingBox3dMsrInfo |
| Information object for measure OrientedBoundingBox3d. More... | |
| class | ipsdk::imaproc::shape::analysis::OrientedBoundingBox3dMsrParams |
| Parameter object for measure OrientedBoundingBox3d. More... | |
| class | ipsdk::imaproc::shape::analysis::OrientedBoundingBox3dMsrResults |
| Measurement results object for measure OrientedBoundingBox3d. More... | |
Functions | |
| IPSDKIPLSHAPEANALYSIS_API OrientedBoundingBox3dMsrParamsPtr | ipsdk::imaproc::shape::analysis::createOrientedBoundingBox3dMsrParams (ipUInt32 nbOrientations) |
| function allowing to create a new parameter object for OrientedBoundingBox3d measure | |
3d Oriented bounding box fitting a shape
This measure uses FeretDiameter3d to compute the oriented minimum bounding box for each shape.
This measure computes, for each shape, an approximation of the oriented bounding box as follows: for each shape, bounding boxes are computed on a customizable number of uniformly distributed orientations. The one with the minimal volume is then considered as the oriented bounding box of the shape.
Here is an example of oriented bounding box measurement calculated on the shapes extracted from the 3d test image MorphoBin3d6.tif. The oriented bounding boxes are displayed with black lines :
3d Oriented bounding box fitting a shape
| Measure Type | Measure Unit Type | Parameter Type | Result Type | Shape Requirements |
|---|---|---|---|---|
Geometry 3d |
None |
|
Custom |
Both |
This is a geometry 3d measure
This measure can only be used in 3d case
Measure OrientedBoundingBox3d is not associated to any unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_NoUnit]
Measure OrientedBoundingBox3d is associated to OrientedBoundingBox3dMsrParams parameters
Measure OrientedBoundingBox3d is associated to OrientedBoundingBox3dMsrResults results
Measure OrientedBoundingBox3d requires row intersections and boundary approximation from shape data
Measure OrientedBoundingBox3d depends on following measures :
| Measure Mode | Measure Name | Measure Type | Measure Parameters |
|---|---|---|---|
| eMVP_3d | ConvexHull | ConvexHull3d | |
| eMVP_3d | Inertia | Inertia3d |
Generic example in 3d case :
1.8.14