![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
computation of distance from shape barycenter to nearest neighbor shape barycenter for each shape More...
Classes | |
| class | ipsdk::imaproc::shape::analysis::DistanceToNearestBarycenter3dMsr |
| Measurement object for measure DistanceToNearestBarycenter3d. More... | |
| class | ipsdk::imaproc::shape::analysis::DistanceToNearestBarycenter3dMsrInfo |
| Information object for measure DistanceToNearestBarycenter3d. More... | |
computation of distance from shape barycenter to nearest neighbor shape barycenter for each shape
This measure allows to compute the distance from the shape barycenter to its nearest neighbor shape barycenter. It is based on a geometric analysis of shape neighborhood.
Here is an example of nearest barycenter computation for a sample of shapes :
In the previous figure, the distance to the nearest barycenter is illustrated using a color map starting on green colors for lower distance and ending on red color for higher distances
computation of distance from shape barycenter to nearest neighbor shape barycenter for each shape
| Measure Type | Measure Unit Type | Parameter Type | Result Type | Shape Requirements |
|---|---|---|---|---|
Geometry 3d |
Length |
None |
Value (ipsdk::ipReal64) |
Row Intersections |
This is a geometry 3d measure
This measure can only be used in 3d case
Measure DistanceToNearestBarycenter3d is associated to a length measurement unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_LengthUnit]
Measure DistanceToNearestBarycenter3d has no parameters
Measure DistanceToNearestBarycenter3d is associated to ipsdk::shape::analysis::ValueMeasureResult<ipsdk::ipReal64> results
Measure DistanceToNearestBarycenter3d requires row intersections from shape data
Measure DistanceToNearestBarycenter3d depends on following measures :
| Measure Mode | Measure Name | Measure Type | Measure Parameters |
|---|---|---|---|
| eMVP_3d | Barycenter3dCollRTree | Barycenter3dCollRTree | |
| eMVP_3d | Barycenter | Barycenter3d |
Generic example in 3d case :
1.8.14