![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Compute the mean of Feret diameters over a range of uniformly distributed orientations. More...
Classes | |
| class | ipsdk::imaproc::shape::analysis::MeanFeretDiameterMsr |
| Measurement object for measure MeanFeretDiameter. More... | |
| class | ipsdk::imaproc::shape::analysis::MeanFeretDiameterMsrInfo |
| Information object for measure MeanFeretDiameter. More... | |
| class | ipsdk::imaproc::shape::analysis::MeanFeretDiameterMsrParams |
| Parameter object for measure MeanFeretDiameter. More... | |
Functions | |
| IPSDKIPLSHAPEANALYSIS_API MeanFeretDiameterMsrParamsPtr | ipsdk::imaproc::shape::analysis::createMeanFeretDiameterMsrParams (ipsdk::ipUInt32 nbOrientations=36) |
| function allowing to create a new parameter object for MeanFeretDiameter measure | |
Compute the mean of Feret diameters over a range of uniformly distributed orientations.
MeanFeretDiameter measure computes the mean of Feret diameters measured on a shape over a uniform distribution of orientations. This measure is done on the polygonal (2d shapes) / polyhedral (3d shapes) approximations of the shapes. The number of orientations in the distribution can be specified by the user (it must be strictly greater than 0).
See FeretDiameter2d for more details about the 2d Feret diameters and FeretDiameter3d for more details about the 3d Feret diameters.
See MaxFeretDiameter for more details about way the uniformly distributed orientations are computed.
Here is an example of mean of Feret diameters measurement on a 2d shape with a number of orientations of 180:
mean of Feret diameters over the range of orientations [0; PI[
| Measure Type | Measure Unit Type | Parameter Type | Result Type | Shape Requirements |
|---|---|---|---|---|
Generic |
Length |
|
Value (ipsdk::ipReal64) |
Boundary Approximation |
This is a generic measure
This measure can only be used in 2d case
Measure MeanFeretDiameter is associated to a length measurement unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_LengthUnit]
Measure MeanFeretDiameter is associated to MeanFeretDiameterMsrParams parameters
Measure MeanFeretDiameter is associated to ipsdk::shape::analysis::ValueMeasureResult<ipsdk::ipReal64> results
Measure MeanFeretDiameter requires boundary approximation from shape data
Measure MeanFeretDiameter depends on following measures :
| Measure Mode | Measure Name | Measure Type | Measure Parameters |
|---|---|---|---|
| eMVP_2d | FeretDiameter_00000 | FeretDiameter2d | createFeretDiameter2dMsrParams(.0) |
Generic example in 2d case :
1.8.14