![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Information object for measure NbNeighbors. More...
#include <NbNeighborsMsrInfo.h>
Public Types | |
| typedef ipsdk::shape::analysis::ValueMeasureResult< ipsdk::ipUInt32 > | MsrResultType |
| typedef NbNeighborsMsrParams | MsrParamsType |
| Parameter type associated to measure. | |
| typedef const NbNeighborsMsrParams | 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 | |
| ~NbNeighborsMsrInfo () | |
| 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 | |
| NbNeighborsMsrInfo () | |
| constructor | |
| 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 NbNeighbors.
measure allowing to compute number of neighbors of shapes given a distance threshold
| Measure Type | Measure Unit Type | Parameter Type | Result Type | Shape Requirements |
|---|---|---|---|---|
Generic |
None |
|
Value (ipsdk::ipUInt32) |
Boundary Approximation |
This is a generic measure
This measure can be used in 2d and 3d case
Measure NbNeighbors is not associated to any unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_NoUnit]
Measure NbNeighbors is associated to NbNeighborsMsrParams parameters
Measure NbNeighbors is associated to ipsdk::shape::analysis::ValueMeasureResult<ipsdk::ipUInt32> results
Measure NbNeighbors requires boundary approximation from shape data
Measure NbNeighbors depends on following measures :
| Measure Mode | Measure Name | Measure Type | Measure Parameters |
|---|---|---|---|
| eMVP_2d | NearestNeighbors | NearestNeighbors2d | boost::make_shared<NeighborsDistanceMsrParams>(*_pMsrParams) |
| eMVP_3d | NearestNeighbors | NearestNeighbors3d | boost::make_shared<NeighborsDistanceMsrParams>(*_pMsrParams) |
Generic example in 2d case :
Generic example in 3d case :
1.8.14