|
FastTrack 6.1.0
Tracks multiples objects dealing with occlusion and identities.
|
This class allows to load tracking data produced by the Tracking class. More...
Public Member Functions | |
| Data () | |
| Construct the data object from a tracking result file. | |
| Data (const QString &dataPath) | |
| Construct the data object from a tracking result file. | |
| Data (const Data &T) | |
| Data & | operator= (const Data &T)=delete |
| Data & | operator= (Data &&T)=delete |
| Data (Data &&T)=delete | |
| bool | setPath (const QString &dataPath) |
| Set the path to a tracking data file. | |
| QHash< QString, double > | getData (int imageIndex, int id) const |
| Get the tracking data at the selected image number for one selected object. | |
| QList< QHash< QString, double > > | getData (int imageIndex) const |
| Get the tracking data at the selected image number. | |
| QList< QHash< QString, double > > | getData (int imageIndexStart, int imageIndexStop, int id) const |
| Get the tracking data for a range of images and for one selected object. | |
| QHash< QString, QList< double > > | getDataId (int id) const |
| Get the tracking data for the selected id. | |
| QList< int > | getId (int imageIndex) const |
| Get the ids of all the objects in the frame. | |
| QList< int > | getId (int imageIndexFirst, int imageIndexLast) const |
| Get the ids of all the objects in several frames. | |
| int | getObjectInformation (int objectId) const |
| Get the object's information. | |
| void | swapData (int firstObject, int secondObject, int from) |
| In the tracking data, swaps two objects from a selected index to the end. | |
| void | deleteData (int objectId, int from, int to) |
| Delete the tracking data of one object from a selected index to the end. | |
| void | insertData (int objectId, int from, int to) |
| Insert the tracking data for one object from a selected index to the end. | |
| void | save (bool force=true, int eachActions=30) |
| Save the data in the tracking result file. | |
| void | clear () |
| Clear data. | |
Public Attributes | |
| QString | dir |
| const QString | connectionName |
| int | maxId |
| int | maxFrameIndex |
| bool | isEmpty |
Private Attributes | |
| int | actions |
| const QStringList | columns |
This class allows to load tracking data produced by the Tracking class.
Contact: benja.nosp@m.min..nosp@m.gallo.nosp@m.is@f.nosp@m.asttr.nosp@m.ack..nosp@m.sh
|
explicit |
Construct the data object from a tracking result file.
| [in] | dataPath | Path to the tracking data file. |
| void Data::deleteData | ( | int | objectId, |
| int | from, | ||
| int | to ) |
Delete the tracking data of one object from a selected index to the end.
| QList< QHash< QString, double > > Data::getData | ( | int | imageIndex | ) | const |
Get the tracking data at the selected image number.
| [in] | imageIndex | The index of the image where to extracts the data. |
| QHash< QString, double > Data::getData | ( | int | imageIndex, |
| int | id ) const |
Get the tracking data at the selected image number for one selected object.
| [in] | imageIndex | The index of the image where to extracts the data. |
| [in] | id | The id of the object. |
| QList< QHash< QString, double > > Data::getData | ( | int | imageIndexStart, |
| int | imageIndexStop, | ||
| int | id ) const |
Get the tracking data for a range of images and for one selected object.
| [in] | imageIndexStart | The index of the first image where to extracts the data. |
| [in] | imageIndexEnd | The index of the last image (excluded) where to extracts the data. |
| [in] | id | The id of the object. |
| QHash< QString, QList< double > > Data::getDataId | ( | int | id | ) | const |
Get the tracking data for the selected id.
| [in] | id | The id of the object. |
| QList< int > Data::getId | ( | int | imageIndex | ) | const |
Get the ids of all the objects in the frame.
| QList< int > Data::getId | ( | int | imageIndexFirst, |
| int | imageIndexLast ) const |
Get the ids of all the objects in several frames.
| int Data::getObjectInformation | ( | int | objectId | ) | const |
Get the object's information.
| void Data::insertData | ( | int | objectId, |
| int | from, | ||
| int | to ) |
Insert the tracking data for one object from a selected index to the end.
| void Data::save | ( | bool | force = true, |
| int | eachActions = 30 ) |
Save the data in the tracking result file.
| [in] | force | Force the saving. |
| [in] | eachActions | Save every eachActions actions. |
| bool Data::setPath | ( | const QString & | dataPath | ) |
Set the path to a tracking data file.
| [in] | dataPath | Path to the tracking data file. |
| void Data::swapData | ( | int | firstObject, |
| int | secondObject, | ||
| int | from ) |
In the tracking data, swaps two objects from a selected index to the end.
| QString Data::dir |
Path to the tracking result file.