5#include <QAbstractItemView>
15#include <QKeySequence>
24#include <QProgressBar>
31#include <QTableWidgetItem>
38#include <opencv2/core/ocl.hpp>
41#include "opencv2/highgui/highgui.hpp"
42#include "opencv2/imgproc/imgproc.hpp"
53 explicit Batch(QWidget *parent =
nullptr);
71 QString backgroundPath;
72 QMap<QString, QString> trackingParameters;
74 QList<process> processList;
90 void addPath(QString, QString, QString);
109 void log(QMap<QString, QString> log);
110 void status(QString messsage);
The Batch widget provides an convenient way to add multiple files to analyze.
Definition: batch.h:49
QShortcut * aShortcut
Definition: batch.h:65
QString memoryDir
Definition: batch.h:79
void openPathBackground(int)
Opens a dialog window to select a background image. Triggered when an open background is clicked in t...
Definition: batch.cpp:324
bool loadParameterFile(QString path)
Reads a parameter file, updates parameters.
Definition: batch.cpp:546
void startTracking()
Starts a new tracking analysis. First, it gets the path to the folder containing the image sequence....
Definition: batch.cpp:400
QThread * thread
Definition: batch.h:60
Batch(QWidget *parent=nullptr)
Constructs the Batch widget.
Definition: batch.cpp:44
QShortcut * dShortcut
Definition: batch.h:66
void next()
Emitted when a tracking analysis is finished.
void updateParameterTable()
Takes the QMap parameterList and updates the parameters panel table..
Definition: batch.cpp:570
QShortcut * wShortcut
Definition: batch.h:63
Ui::Batch * ui
Definition: batch.h:57
void saveSettings()
Saves all the parameters in the settings file.
Definition: batch.cpp:522
QMap< QString, QString > parameterList
Definition: batch.h:58
void loadSettings()
Loads the settings file at the startup of the program and updates the ui->parameterTable with the new...
Definition: batch.cpp:508
QShortcut * qShortcut
Definition: batch.h:64
Tracking * tracking
Definition: batch.h:61
void removePath()
Deletes the selected line in the ui->tablePath and the corresponding path in the pathList....
Definition: batch.cpp:378
void openPathFolder()
Opens a dialog window to select folders. Triggered when the openPath button is clicked....
Definition: batch.cpp:265
void newParameterList(const QMap< QString, QString > ¶meterList)
Emitted when a parameter is changed.
QSettings * settingsFile
Definition: batch.h:78
void addPath(QString, QString, QString)
Adds movie to the list of movies to analyze.
Definition: batch.cpp:339
void errors(int code)
Displays an error message.
Definition: batch.cpp:590
void updateParameters()
Updates the parameterList vector with the new parameter when users changes a parameter in the QTableW...
Definition: batch.cpp:483
void openParameterFile(int)
Opens a dialog to select a parameter file.
Definition: batch.cpp:533
This class is intended to execute a tracking analysis on an image sequence. It is initialized with th...
Definition: tracking.h:60