The Batch widget provides an convenient way to add multiple files to analyze.
More...
|
void | updateParameters () |
| Updates the parameterList vector with the new parameter when users changes a parameter in the QTableWidget of parameters. Triggered when ui->tableParameters is modified. Emits the updated parameters QHash.
|
|
void | startTracking () |
| Starts a new tracking analysis. First, it gets the path to the folder containing the image sequence. It creates a folder named Tracking_Result in this folder and a file parameters.txt containing the parameterList. It creates a new Tracking object that has to be run in a separate thread. When the analysis is finished, the Tracking object is destroyed and a new analysis is started. Triggerred when the start analysis button is clicked or when the signal finishedAnalysis() is emitted.
|
|
void | openPathFolder () |
| Opens a dialog window to select folders. Triggered when the openPath button is clicked. If auto-detection mode is enable, it will also selects a background image and/or a parameter file and update the list of file to process. It also possible to add a suffix to the selected path.
|
|
void | openPathBackground (int) |
| Opens a dialog window to select a background image. Triggered when an open background is clicked in the pathTable.
|
|
void | addPath (const QString &, const QString &, const QString &) |
| Adds movie to the list of movies to analyze.
|
|
void | removePath () |
| Deletes the selected line in the ui->tablePath and the corresponding path in the pathList. Triggered when the ui->removePath button is clicked.
|
|
void | removePath (int index) |
| Deletes the row at index in the pathPanel.
|
|
void | updateParameterTable () |
| Takes the QHash parameterList and updates the parameters panel table..
|
|
bool | loadParameterFile (const QString &path) |
| Reads a parameter file, updates parameters.
|
|
void | openParameterFile (int) |
| Opens a dialog to select a parameter file.
|
|
void | errors (int code) |
| Displays an error message.
|
|
|
void | newParameterList (const QHash< QString, QString > ¶meterList) |
| Emitted when a parameter is changed.
|
|
void | next () |
| Emitted when a tracking analysis is finished.
|
|
void | log (QHash< QString, QString > log) |
|
void | status (QString messsage) |
|
|
| Batch (QWidget *parent=nullptr) |
| Constructs the Batch widget.
|
|
| Batch (const Batch &T)=delete |
|
Batch & | operator= (const Batch &T)=delete |
|
Batch & | operator= (Batch &&T)=delete |
|
| Batch (Batch &&T)=delete |
|
|
void | loadSettings () |
| Loads the settings file at the startup of the program and updates the ui->parameterTable with the new parameters.
|
|
void | saveSettings () |
| Saves all the parameters in the settings file.
|
|
The Batch widget provides an convenient way to add multiple files to analyze.
- Author
- Benjamin Gallois
- Version
- Revision
- 460
Contact: gallo.nosp@m.is.b.nosp@m.enjam.nosp@m.in08.nosp@m.@gmai.nosp@m.l.co.nosp@m.m
◆ addPath
void Batch::addPath |
( |
const QString & | pathMovie, |
|
|
const QString & | pathBackground, |
|
|
const QString & | pathParameter ) |
|
slot |
Adds movie to the list of movies to analyze.
- [in] pathMovie Path to the image sequence to analyze.
- [in] pathBackground Path to the background image.
- [in] pathParameter Path to the parameter file.
◆ newParameterList
void Batch::newParameterList |
( |
const QHash< QString, QString > & | parameterList | ) |
|
|
signal |
Emitted when a parameter is changed.
- Parameters
-
parameterList | All parameters necessary to the tracking analysis. |
◆ openParameterFile
void Batch::openParameterFile |
( |
int | row | ) |
|
|
slot |
Opens a dialog to select a parameter file.
- [in] row Index of the row containing the button in the pathPanel.
◆ openPathBackground
void Batch::openPathBackground |
( |
int | row | ) |
|
|
slot |
Opens a dialog window to select a background image. Triggered when an open background is clicked in the pathTable.
- [in] row Index of the row containing the button in the pathPanel.
◆ removePath
void Batch::removePath |
( |
int | row | ) |
|
|
slot |
Deletes the row at index in the pathPanel.
- [in] row Index of the row.
◆ updateParameters
void Batch::updateParameters |
( |
| ) |
|
|
slot |
Updates the parameterList vector with the new parameter when users changes a parameter in the QTableWidget of parameters. Triggered when ui->tableParameters is modified. Emits the updated parameters QHash.
- Parameters
-
[in] | item | QTableWidgetItem from a QTableWidget. |
◆ aShortcut
QShortcut* Batch::aShortcut |
|
private |
Keyboard shortcut to previous frame.
◆ dShortcut
QShortcut* Batch::dShortcut |
|
private |
Keyboard shortcut to next frame.
◆ memoryDir
Saves the path of the last opened folder.
◆ parameterList
QHash<QString, QString> Batch::parameterList |
|
private |
All the parameters necessary for the tracking analysis.
◆ qShortcut
QShortcut* Batch::qShortcut |
|
private |
Keyboard shortcut to previous frame.
◆ settingsFile
QSettings* Batch::settingsFile |
|
private |
Saves parameters in a settings.ini file.
◆ thread
◆ tracking
Objects that track images sequence.
◆ ui
ui file from Qt designer.
◆ wShortcut
QShortcut* Batch::wShortcut |
|
private |
Keyboard shortcut to next occlusion.
The documentation for this class was generated from the following files: