![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Compute the diameter of equivalent 2d circle or 3d sphere (circle with same area or sphere with same volume) More...
Classes | |
| class | ipsdk::imaproc::shape::analysis::EquivalentDiameterMsr |
| Measurement object for measure EquivalentDiameter. More... | |
| class | ipsdk::imaproc::shape::analysis::EquivalentDiameterMsrInfo |
| Information object for measure EquivalentDiameter. More... | |
Typedefs | |
| typedef HolesBasicPolicyMsrParams | ipsdk::imaproc::shape::analysis::EquivalentDiameterMsrParams |
| parameter type associated to class | |
Compute the diameter of equivalent 2d circle or 3d sphere (circle with same area or sphere with same volume)
The equivalentDiameter measure computes the diameter of 2d circle with equivalent area (or 3d sphere with equivalent volume). Its result equals twice the result of Equivalent Ray :
Here is an example of equivalent diameter measurement in 2d case with default parameters :
Compute the diameter of equivalent 2d circle or 3d sphere (circle with same area or sphere with same volume)
| Measure Type | Measure Unit Type | Parameter Type | Result Type | Shape Requirements |
|---|---|---|---|---|
Generic |
Length |
|
Value (ipsdk::ipReal64) |
Row Intersections |
This is a generic measure
This measure can be used in 2d and 3d case
Measure EquivalentDiameter is associated to a length measurement unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_LengthUnit]
Measure EquivalentDiameter is associated to EquivalentDiameterMsrParams parameters
Measure EquivalentDiameter is associated to ipsdk::shape::analysis::ValueMeasureResult<ipsdk::ipReal64> results
Measure EquivalentDiameter requires row intersections from shape data
Measure EquivalentDiameter depends on following measures :
| Measure Mode | Measure Name | Measure Type | Measure Parameters |
|---|---|---|---|
| eMVP_2d3d | EquivalentRay | EquivalentRay |
Generic example in 2d case :
Generic example in 3d case :
1.8.14