 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
40 float& condnumber)
const;
60 std::vector<Classifier>& classifiers,
61 std::vector<float>&
scales,
64 bool headerOnly =
false);
std::string filename
Definition: PointCloudIO.cpp:47
Vector2Tpl< float > Point2D
2D point
Definition: classifier.h:26
Set of descriptors.
Definition: ccPointDescriptor.h:93
Point2D project(const CorePointDesc &mscdata) const
Projects a parameter vector in (2D) MSC space.
Definition: classifier.cpp:129
float axisScaleRatio
Definition: classifier.h:73
bool save(QString filename, QString &error)
Saves classifier as a CANUPO's classifier file (.prm)
Definition: classifier.cpp:299
std::vector< Point2D > path
Definition: classifier.h:72
std::vector< float > scales
Associated scales.
Definition: classifier.h:83
float absMaxXY
Definition: classifier.h:73
float classify(const CorePointDesc &mscdata) const
Classification in MSC space.
Definition: classifier.cpp:152
std::vector< float > weightsAxis1
Definition: classifier.h:71
static bool Load(QString filename, std::vector< Classifier > &classifiers, std::vector< float > &scales, QString &error, FileHeader *header=0, bool headerOnly=false)
Loads a CANUPO's classifier file (.prm)
Definition: classifier.cpp:157
std::vector< float > weightsAxis2
Definition: classifier.h:71
float classify2D(const Point2D &P) const
Classification in the 2D space.
Definition: classifier.cpp:119
Point2D refPointNeg
Definition: classifier.h:74
unsigned dimPerScale
Dimension (per-scale)
Definition: classifier.h:80
bool checkRefPoints()
Checks the ref. points.
Definition: classifier.cpp:25
Classifier()
Default constructor.
Definition: classifier.cpp:17
float classify2D_checkcondnum(const Point2D &P, const Point2D &R, float &condnumber) const
Checks numerical condition.
Definition: classifier.cpp:34
int class1
Definition: classifier.h:70
unsigned descriptorID
Associated descriptor ID (see ccPointDescriptor.h)
Definition: classifier.h:77
int class2
Definition: classifier.h:70
Classifier.
Definition: classifier.h:23
Point2D refPointPos
Definition: classifier.h:74