40 float& condnumber)
const;
60 std::vector<Classifier>& classifiers,
61 std::vector<float>&
scales,
64 bool headerOnly =
false);
std::vector< float > weightsAxis2
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)
float classify2D(const Point2D &P) const
Classification in the 2D space.
float classify2D_checkcondnum(const Point2D &P, const Point2D &R, float &condnumber) const
Checks numerical condition.
bool save(QString filename, QString &error)
Saves classifier as a CANUPO's classifier file (.prm)
unsigned dimPerScale
Dimension (per-scale)
Point2D project(const CorePointDesc &mscdata) const
Projects a parameter vector in (2D) MSC space.
unsigned descriptorID
Associated descriptor ID (see ccPointDescriptor.h)
Vector2Tpl< float > Point2D
2D point
std::vector< float > weightsAxis1
std::vector< Point2D > path
std::vector< float > scales
Associated scales.
float classify(const CorePointDesc &mscdata) const
Classification in MSC space.
bool checkRefPoints()
Checks the ref. points.
Classifier()
Default constructor.
static void error(char *msg)