The Interactive widget provides an environment to use the tracking widget in an interactive environment.  
 More...
|  | 
| void | message (QString message) | 
|  | 
| void | log (QHash< QString, QString > log) | 
|  | 
| void | status (QString messsage) | 
|  | 
| void | modeChanged (bool isSimple) | 
|  | 
|  | 
| void | dropEvent (QDropEvent *dropEvent) override | 
|  | Gets drop events that have url and try to open the file. 
 | 
|  | 
| void | dragEnterEvent (QDragEnterEvent *event) override | 
|  | Accepts all the drag enter event. 
 | 
|  | 
|  | 
| void | openFolder (QString path=QString()) | 
|  | 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. 
 | 
|  | 
| void | display (const QImage &image) | 
|  | This is an overloaded function to display a QImage in the display. 
 | 
|  | 
| void | display (const cv::UMat &image, QImage::Format format=QImage::Format_RGB888) | 
|  | 
| 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 tracking 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) override | 
|  | Manages all the mouse inputs in the display. 
 | 
|  | 
| 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 (const 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 ) |  | overrideprivateslot | 
 
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
  
  | 
        
          | QHash<QString, QString> Interactive::parameters |  | private | 
 
 
◆ tracking
The documentation for this class was generated from the following files: