![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
M3C2 generic tools. More...
#include <qM3C2Tools.h>
Classes | |
| struct | GuessedParams |
| M3C2 parameters that can be guessed automatically by 'probing'. More... | |
Static Public Member Functions | |
| static void | ComputeStatistics (cloudViewer::DgmOctree::NeighboursSet &set, bool useMedian, double &meanOrMedian, double &stdDevOrIQR) |
| Computes statistics on a neighbors set. More... | |
| static bool | GuessBestParams (ccPointCloud *cloud1, ccPointCloud *cloud2, unsigned minPoints4Stats, GuessedParams ¶ms, bool fastMode, ecvMainAppInterface *app=nullptr, unsigned probingCount=1000) |
| Tries to guess some M3C2 parameters by randomly 'probing' the cloud. More... | |
M3C2 generic tools.
Definition at line 65 of file qM3C2Tools.h.
|
static |
Computes statistics on a neighbors set.
Either the mean distance and std. dev. (if useMedian is false) or the median and interquartile range (if useMedian is true). See http://en.wikipedia.org/wiki/Interquartile_range
Definition at line 487 of file qM3C2Tools.cpp.
References count, cloudViewer::DgmOctree::PointDescriptor::distComp(), Interquartile(), Median(), and NAN_VALUE.
Referenced by ComputeM3C2DistForPoint().
|
static |
Tries to guess some M3C2 parameters by randomly 'probing' the cloud.
Definition at line 529 of file qM3C2Tools.cpp.
References ecvMainAppInterface::addToDB(), cloudViewer::utility::ceil(), ccGenericPointCloud::computeOctree(), cloudViewer::DistanceComputationTools::computePoint2PlaneDistance(), ecvMainAppInterface::dispToConsole(), fabs(), cloudViewer::utility::floor(), Vector3Tpl< double >::fromArray(), cloudViewer::BoundingBoxTpl< T >::getDiagNorm(), cloudViewer::BoundingBoxTpl< T >::getDiagNormd(), cloudViewer::Neighbourhood::getLSPlane(), ecvMainAppInterface::getMainWindow(), ccGenericPointCloud::getOctree(), ccGenericPointCloud::getOctreeProxy(), ccGenericPointCloud::getOwnBB(), ccHObject::getParent(), cloudViewer::PointCloudTpl< T >::getPoint(), cloudViewer::DgmOctree::MAX_OCTREE_LEVEL, min(), Vector3Tpl< Type >::normalize(), params, cloudViewer::ReferenceCloud::resize(), cloudViewer::ReferenceCloud::setPointIndex(), cloudViewer::PointCloudTpl< T >::size(), Tuple3Tpl< Type >::u, ecvMainAppInterface::WRN_CONSOLE_MESSAGE, Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
Referenced by qM3C2Dialog::guessParams().