23#include <opencv2/core/types.hpp>
27#include "videoreader.h"
31class AutoLevel :
public QObject {
47 explicit AutoLevel(QWidget *parent =
nullptr) : QObject(parent){};
49 AutoLevel(
const string &path,
const UMat &background,
const QHash<QString, QString> ¶meters);
54 static double stdev(
const QList<double> &vect);
57 QHash<QString, double>
level();
60 void forceFinished(QString message);
61 void levelParametersChanged(QHash<QString, double>);
Definition autolevel.h:31
double computeStdDistance(const Data &data)
Compute the standard deviation of the distance distribution.
Definition autolevel.cpp:163
QHash< QString, QString > m_parameters
Definition autolevel.h:38
UMat m_background
Definition autolevel.h:37
double computeStdPerimeter(const Data &data)
Compute the standard deviation of the angle distribution.
Definition autolevel.cpp:210
int m_endImage
Definition autolevel.h:39
QString m_spotSuffix
Definition autolevel.h:36
double computeStdArea(const Data &data)
Compute the standard deviation of the area distribution.
Definition autolevel.cpp:191
QHash< QString, double > level()
Levels the tracking parameters.
Definition autolevel.cpp:65
QString m_savedPath
Definition autolevel.h:34
double computeStdAngle(const Data &data)
Compute the standard deviation of the angle distribution.
Definition autolevel.cpp:140
static double stdev(const QList< double > &vect)
Compute the std from a vector.
Definition autolevel.cpp:127
string m_path
Definition autolevel.h:35
This class allows to load tracking data produced by the Tracking class.
Definition data.h:24