![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Information object for measure FeretDiameter2d. More...
#include <FeretDiameter2dMsrInfo.h>
Public Types | |
| typedef ipsdk::shape::analysis::ValueMeasureResult< ipsdk::ipReal64 > | MsrResultType |
| typedef FeretDiameter2dMsrParams | MsrParamsType |
| Parameter type associated to measure. | |
| typedef const FeretDiameter2dMsrParams | MsrParamsConstType |
| Parameter const type associated to measure. | |
| typedef boost::shared_ptr< MsrParamsType > | MsrParamsStorageType |
| Shared pointer to parameter type associated to measure. | |
| typedef boost::shared_ptr< MsrParamsConstType > | MsrParamsConstStorageType |
| Shared pointer to const parameter type associated to measure. | |
Public Member Functions | |
| ~FeretDiameter2dMsrInfo () | |
| destructor | |
| const std::string & | getObjectName () const |
| method allowing to retrieve object name | |
| const std::string & | getToolTip () const |
| method allowing to retrieve object tooltip | |
| const std::string & | getDefaultName () const |
| ipsdk::shapeanalysis::eMsrProcessingPolicy | getMsrProcessingPolicy () const |
Static Public Member Functions | |
| static const std::string & | getObjectNameStr () |
| method allowing to retrieve object name | |
| static const std::string & | getToolTipStr () |
| method allowing to retrieve object tooltip | |
Static Public Attributes | |
| static const ipsdk::shapeanalysis::eMsrProcessingPolicy::domain | g_msrProcessingPolicy = ipsdk::shapeanalysis::eMsrProcessingPolicy::eMPP_Generic |
Protected Member Functions | |
| FeretDiameter2dMsrInfo () | |
| constructor | |
| virtual void | createCustomDependencies (const bool b2dMsrMode) |
| method allowing to retrieve custom dependencies informations | |
| virtual BoolResult | validateMsrParams (const bool b2dMsrMode, const DataItemConstPtr &pMeasureParams) const |
| method allowing to validate measure parameters in derived class | |
Protected Attributes | |
| MsrParamsConstStorageType | _pMsrParams |
| Derived parameter associated to measure. | |
Information object for measure FeretDiameter2d.
computes, for a given orientation, Feret diameter
| 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 FeretDiameter2d is associated to a length measurement unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_LengthUnit]
Measure FeretDiameter2d is associated to FeretDiameter2dMsrParams parameters
Measure FeretDiameter2d is associated to ipsdk::shape::analysis::ValueMeasureResult<ipsdk::ipReal64> results
Measure FeretDiameter2d requires boundary approximation from shape data
Measure FeretDiameter2d depends on following measures :
| Measure Mode | Measure Name | Measure Type | Measure Parameters |
|---|---|---|---|
| eMVP_2d | ConvexHull2d | ConvexHull2d |
Generic example in 2d case :
1.8.14