5#include <QAbstractItemView>
16#include <QKeySequence>
24#include <QProgressBar>
27#include <QSharedPointer>
32#include <QTableWidgetItem>
39#include <opencv2/core/ocl.hpp>
42#include "opencv2/highgui/highgui.hpp"
43#include "opencv2/imgproc/imgproc.hpp"
54 explicit Batch(QWidget *parent =
nullptr);
77 QString backgroundPath;
78 QHash<QString, QString> trackingParameters;
80 QList<process> processList;
96 void addPath(
const QString &,
const QString &,
const QString &);
115 void log(QHash<QString, QString> log);
116 void status(QString messsage);
QHash< QString, QString > parameterList
Definition batch.h:64
QShortcut * aShortcut
Definition batch.h:71
QString memoryDir
Definition batch.h:85
void openPathBackground(int)
Opens a dialog window to select a background image. Triggered when an open background is clicked in t...
Definition batch.cpp:323
void startTracking()
Starts a new tracking analysis. First, it gets the path to the folder containing the image sequence....
Definition batch.cpp:399
QThread * thread
Definition batch.h:66
Batch(QWidget *parent=nullptr)
Constructs the Batch widget.
Definition batch.cpp:44
QShortcut * dShortcut
Definition batch.h:72
void next()
Emitted when a tracking analysis is finished.
void updateParameterTable()
Takes the QHash parameterList and updates the parameters panel table..
Definition batch.cpp:569
QShortcut * wShortcut
Definition batch.h:69
Ui::Batch * ui
Definition batch.h:63
void saveSettings()
Saves all the parameters in the settings file.
Definition batch.cpp:521
void newParameterList(const QHash< QString, QString > ¶meterList)
Emitted when a parameter is changed.
void loadSettings()
Loads the settings file at the startup of the program and updates the ui->parameterTable with the new...
Definition batch.cpp:507
QShortcut * qShortcut
Definition batch.h:70
bool loadParameterFile(const QString &path)
Reads a parameter file, updates parameters.
Definition batch.cpp:545
Tracking * tracking
Definition batch.h:67
void removePath()
Deletes the selected line in the ui->tablePath and the corresponding path in the pathList....
Definition batch.cpp:377
void openPathFolder()
Opens a dialog window to select folders. Triggered when the openPath button is clicked....
Definition batch.cpp:265
void addPath(const QString &, const QString &, const QString &)
Adds movie to the list of movies to analyze.
Definition batch.cpp:338
QSettings * settingsFile
Definition batch.h:84
void errors(int code)
Displays an error message.
Definition batch.cpp:589
void updateParameters()
Updates the parameterList vector with the new parameter when users changes a parameter in the QTableW...
Definition batch.cpp:482
void openParameterFile(int)
Opens a dialog to select a parameter file.
Definition batch.cpp:532
This class is intended to execute a tracking analysis on an image sequence. It is initialized with th...
Definition tracking.h:63