The Interactive widget provides an environment to use the tracking widget in an interactive environment.
More...
|
void | message (QString message) |
|
void | log (QMap< QString, QString > log) |
|
void | status (QString messsage) |
|
void | modeChanged (bool isSimple) |
|
|
| Interactive (QWidget *parent=nullptr) |
| Constructs the interactive object derived from a QMainWindow object.
|
|
| ~Interactive () |
| Destructors.
|
|
|
void | openFolder () |
| Asks the path to a folder where an image sequence is stored. Setups the ui and resets the class attributs for a new analysis. Triggered when the open button from the menu bar is clicked.
|
|
void | display (int index, int scale=0) |
| Displays the image at index in the image sequence in the ui. More...
|
|
void | display (const QImage &image) |
| This is an overloaded function to display a QImage in the display.
|
|
void | display (const UMat &image) |
| This is an overloaded function to display a UMat in the display.
|
|
void | zoomIn () |
| Zooms in the display.
|
|
void | zoomOut () |
| Zooms out the display.
|
|
void | getParameters () |
| Gets all the tracking parameters from the ui and updates the parameter map that will be passed to the tracking object.
|
|
void | previewTracking () |
| Does a tracing analysis on a sub-part of the image sequence defined by the user. Triggered when previewButton is clicked.
|
|
void | track () |
| Does a tracking analysis. Triggered when the trackButton is clicked.
|
|
void | computeBackground () |
| Computes and displays the background image in the display. Triggered when the backgroundComputeButton is clicked.
|
|
void | selectBackground () |
| Opens a dialogue to select a background image. Triggered when ui->backgroundSelectButton is pressed.
|
|
bool | eventFilter (QObject *target, QEvent *event) |
| Manages all the mouse inputs in the display. More...
|
|
void | crop () |
| Crops the image from a rectangle drawed by the user with the mouse on the display. Triggered when the QPushButton ui->crop is clicked.
|
|
void | reset () |
| Resets the region of interest. Triggered by the reset button.
|
|
void | saveSettings () |
| Saves the settings.
|
|
void | loadParameters (QString path) |
| Reads a parameter file, updates parameters.
|
|
void | level () |
| Level the parameters.
|
|
The Interactive widget provides an environment to use the tracking widget in an interactive environment.
- Author
- Benjamin Gallois
- Version
- Revision
- 480
Contact: benja.nosp@m.min..nosp@m.gallo.nosp@m.is@f.nosp@m.asttr.nosp@m.ack..nosp@m.sh
◆ display
void Interactive::display |
( |
int |
index, |
|
|
int |
scale = 0 |
|
) |
| |
|
privateslot |
Displays the image at index in the image sequence in the ui.
- Parameters
-
[in] | index | Index of the image to display in the image sequence. |
[in] | scale | Optional scale to display. |
◆ eventFilter
bool Interactive::eventFilter |
( |
QObject * |
target, |
|
|
QEvent * |
event |
|
) |
| |
|
privateslot |
Manages all the mouse inputs in the display.
- Parameters
-
[in] | target | Widget to apply the filter. |
[in] | event | Describes the mouse event. |
◆ background
UMat Interactive::background |
|
private |
◆ backgroundPath
QString Interactive::backgroundPath |
|
private |
Path to the background image.
◆ cropedImageSize
QSize Interactive::cropedImageSize |
|
private |
Size of the croped image.
◆ dir
Path to the folder where the image sequence to display is stored.
◆ isBackground
bool Interactive::isBackground |
|
private |
Is the background computed.
◆ isExpert
bool Interactive::isExpert |
|
private |
Is FastTrack is in expert mode with advanced capabilities.
◆ memoryDir
QString Interactive::memoryDir |
|
private |
Saves the path to the last opened folder in dialog.
◆ originalImageSize
QSize Interactive::originalImageSize |
|
private |
Size of the original image.
◆ parameters
QMap<QString, QString> Interactive::parameters |
|
private |
◆ resizedFrame
QSize Interactive::resizedFrame |
|
private |
Size of the resized image in the display QWidget.
◆ tracking
The documentation for this class was generated from the following files: