ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
qM3C2Tools Class Reference

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 &params, bool fastMode, ecvMainAppInterface *app=nullptr, unsigned probingCount=1000)
 Tries to guess some M3C2 parameters by randomly 'probing' the cloud. More...
 

Detailed Description

M3C2 generic tools.

Definition at line 65 of file qM3C2Tools.h.

Member Function Documentation

◆ ComputeStatistics()

void qM3C2Tools::ComputeStatistics ( cloudViewer::DgmOctree::NeighboursSet set,
bool  useMedian,
double &  meanOrMedian,
double &  stdDevOrIQR 
)
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().

◆ GuessBestParams()


The documentation for this class was generated from the following files: