|
| PersonalityModule (Datapool *i_data) |
|
bool | setParameters (QDomNode &config) |
|
bool | init () |
|
bool | run () |
|
bool | updateParameters () |
|
int | readSupervisedData () |
|
void | getPersonality (QImage *current, SupervisedStatisticalInfo &sup) |
|
void | getPersonalityPreAngular (QImage *current, std::vector< std::vector< cv::Point > > &ccontours) |
|
void | getPersonalityFromAngular (std::vector< std::vector< cv::Point > > &contours, SupervisedStatisticalInfo &sup) |
|
void | getNormalIntersections (cv::Mat &f, cv::Rect &roi, std::vector< cv::Point > &hull, cv::Point2f &r1, cv::Point2f &r2, int n1, int n2, float dx, float dy, std::vector< segment2D< float > > &segs) |
|
void | setForegroundSegment (cv::Mat &f, cv::Rect &roi, std::vector< cv::Point > &hull, segment2D< float > &seg, float x, float y, float dx, float dy, int &I1, int &I2) |
|
void | connectContours (std::vector< std::vector< cv::Point > > &contours, std::vector< std::vector< cv::Point > > &ccontours) |
|
void | filterContours (std::vector< std::vector< cv::Point > > &contours, std::vector< std::vector< cv::Point > > &fcontours, int min_length) |
|
void | drawPointsToMat (std::vector< cv::Point2f > &pca_points, cv::Mat &m) |
|
void | drawKMeansPointsToMat (std::vector< cv::Point2f > &pca_points, cv::Mat &m, cv::Mat &klabels, cv::Mat &kcenters, int K) |
|
void | prepareImage (cv::Mat ¤t) |
|
void | getShapeBorder (cv::Mat ¤t, cv::Mat &border) |
|
int | getCentroid (cv::Mat &image, float x, float y) |
|
void | getMainAxis (cv::Mat &image, float x, float y, int n, cv::Point2f &r1, cv::Point2f &r2) |
|
void | getAngularFunction (std::vector< float > &angular, std::vector< std::vector< cv::Point > > &contours) |
|
void | getHistogram (std::vector< float > &input, cv::MatND &hist) |
|
cv::PCA * | getPCAfromHistograms (std::vector< cv::MatND > h) |
|
cv::PCA * | getPCAfromHistograms (std::vector< cv::MatND > h, cv::Mat &pcadata, cv::Mat &pcamean) |
|
cv::PCA * | getPCA (cv::Mat &pcadata, cv::Mat &pcamean) |
|
cv::Mat | getKMeansFromPCA (cv::PCA *pca, cv::Mat &pcadata, cv::Mat &pcamean) |
|
float | crossValidation (std::vector< SupervisedStatisticalInfo > &supervised, std::vector< CvANN_MLP > &anns, float &rel_error) |
|
void | getModel (std::vector< SupervisedStatisticalInfo > &sup, CvANN_MLP &ann, bool mean, bool reliability) |
|
float | getPrediction (CvANN_MLP &ann, SupervisedStatisticalInfo &sup) |
|
| ModuleInterface (Datapool *i_data) |
|
void | addParameter (QString name, QString value, QString type) |
|
void | addParameterChild (QString name, QString value, QString type, parameter *parent) |
|
parameter * | getParameter (QString name) |
|
parameter * | getParameter (QString name, parameter *parent) |
|
parameter * | getParameter (QString name, std::multimap< QString, parameter > subList) |
|
Parameter2 * | getParameterFromTree (const QString name) |
|
Parameter2 * | getParameterFromTree (const QString name, Parameter2 *parent) |
|
Parameter2 * | getParameterFromTree (const QString name, std::multimap< QString, Parameter2 > subList) |
|
void | addParameterToTree (const QString name, const QString value, const QString defaultValue, const ParameterDataType &type) |
|
void | addChildParameterToTree (const QString &name, const QString &value, const QString &defaultValue, const ParameterDataType &type, Parameter2 *parent) |
|
bool | getParameterValueFromXml (const QDomNode &rootNode, const QString ¶meterName, const bool &defaulValue, bool &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | getParameterValueFromXml (const QDomNode &rootNode, const QString ¶meterName, const char &defaulValue, char &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | getParameterValueFromXml (const QDomNode &rootNode, const QString ¶meterName, const uchar &defaulValue, uchar &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | getParameterValueFromXml (const QDomNode &rootNode, const QString ¶meterName, const int &defaulValue, int &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | getParameterValueFromXml (const QDomNode &rootNode, const QString ¶meterName, const uint &defaulValue, uint &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | getParameterValueFromXml (const QDomNode &rootNode, const QString ¶meterName, const long &defaulValue, long &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | getParameterValueFromXml (const QDomNode &rootNode, const QString ¶meterName, const ulong &defaulValue, ulong &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | getParameterValueFromXml (const QDomNode &rootNode, const QString ¶meterName, const float &defaulValue, float &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | getParameterValueFromXml (const QDomNode &rootNode, const QString ¶meterName, const double &defaulValue, double &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | getParameterValueFromXml (const QDomNode &rootNode, const QString ¶meterName, const QString &defaulValue, QString &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | setNodeParameterModule (const QDomNode &rootNode, const QString ¶meterName, const bool defaulValue, bool &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | setNodeParameterModule (const QDomNode &rootNode, const QString ¶meterName, const int defaulValue, int &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | setNodeParameterModule (const QDomNode &rootNode, const QString ¶meterName, const char defaulValue, char &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | setNodeParameterModule (const QDomNode &rootNode, const QString ¶meterName, const uchar defaulValue, uchar &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | setNodeParameterModule (const QDomNode &rootNode, const QString ¶meterName, const uint defaulValue, uint &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | setNodeParameterModule (const QDomNode &rootNode, const QString ¶meterName, const long defaulValue, long &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | setNodeParameterModule (const QDomNode &rootNode, const QString ¶meterName, const ulong defaulValue, ulong &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | setNodeParameterModule (const QDomNode &rootNode, const QString ¶meterName, const float defaulValue, float &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | setNodeParameterModule (const QDomNode &rootNode, const QString ¶meterName, const double defaulValue, double &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | setNodeParameterModule (const QDomNode &rootNode, const QString ¶meterName, const QString defaulValue, QString &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | setChildParameterModule (const QDomNode &rootNode, const QString ¶meterName, const bool defaulValue, bool &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | setChildParameterModule (const QDomNode &rootNode, const QString ¶meterName, const int defaulValue, int &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | setChildParameterModule (const QDomNode &rootNode, const QString ¶meterName, const char defaulValue, char &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | setChildParameterModule (const QDomNode &rootNode, const QString ¶meterName, const uchar defaulValue, uchar &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | setChildParameterModule (const QDomNode &rootNode, const QString ¶meterName, const uint defaulValue, uint &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | setChildParameterModule (const QDomNode &rootNode, const QString ¶meterName, const long defaulValue, long &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | setChildParameterModule (const QDomNode &rootNode, const QString ¶meterName, const ulong defaulValue, ulong &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | setChildParameterModule (const QDomNode &rootNode, const QString ¶meterName, const float defaulValue, float &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | setChildParameterModule (const QDomNode &rootNode, const QString ¶meterName, const double defaulValue, double &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
bool | setChildParameterModule (const QDomNode &rootNode, const QString ¶meterName, const QString defaulValue, QString &outParameter, QDomNode ¶meterNode, bool appendWarning=false) |
|
|
static void | getFarPoints (cv::Mat im, float dx, float dy, cv::Point2f &r1, cv::Point2f &r2, float mean_x, float mean_y) |
|
static bool | pointInNeighborhood (cv::Mat im, float pos_x, float pos_y, int &x, int &y) |
|
static bool | movementFound (cv::Mat f, int wsize, int i0, int j0) |
|
static bool | movementFound (cv::Mat f, int wsize, int i0, int j0, cv::Rect roi) |
|
static double | histogramDistance (cv::MatND h1, cv::MatND h2) |
|
static double | distanceToSegment (int i1, int i2, std::vector< cv::Point > &contour) |
|
static bool | lineSegmentIntersection (cv::Point3f &line, cv::Point2f &p1, cv::Point2f &p2, cv::Point2f &r) |
|
static bool | getGeneralLineForm (cv::Point2f p1, cv::Point2f p2, cv::Point3f &rline) |
|
static bool | getGeneralLineForm (float x, float y, float dx, float dy, cv::Point3f &rline) |
|
static int | getContourToLineIntersection (std::vector< cv::Point > &hull, cv::Point3f &rline, cv::Point2f &r1, cv::Point2f &r2, int *n1=NULL, int *n2=NULL) |
|
static int | getContourToLineIntersectionIndexed (std::vector< cv::Point > &polygon, cv::Point3f &rline, cv::Point2f &r1, cv::Point2f &r2, int &n1, int &n2) |
|
static int | movementCount (cv::Mat f, int wsize, int i0, int j0, cv::Rect roi) |
|
static void | safeCopyQImageToMat (QImage &q, cv::Mat &m) |
|
static void | drawContourToMat (std::vector< cv::Point > &v, cv::Mat &m) |
|
static void | drawContourToMat (std::vector< cv::Point > &v, cv::Mat &m, cv::Scalar color) |
|
static void | blurContour (std::vector< cv::Point > &contour, int scale, int step) |
|