|
Tracore
|
#include <Parser.h>
Static Public Member Functions | |
| static void | ParseObjectData2D (ValueMapVector &values, core::DetectionSequence &sequence, double image_width, double image_height, double temporal_weight, double spatial_weight) |
| static void | ParseObjectDataBox (ValueMapVector &values, core::DetectionSequence &sequence, double image_width, double image_height, double temporal_weight, double spatial_weight) |
| static void | ParseObjectDataAngular (ValueMapVector &values, core::DetectionSequence &sequence, double image_width, double image_height, double temporal_weight, double spatial_weight, double angular_weight) |
| static Grid | ParseGrid (core::DetectionSequence &sequence, size_t start, size_t stop, double min_x, double max_x, int res_x, double min_y, double max_y, int res_y) |
Utility class for parsing diverse objects.
|
static |
Parses the given sequence into a grid. The sequence data need to be a ObjectData2D. The frame index is the depth of the grid.
| sequence | The detection sequence to parse |
| start | The first frame to use |
| stop | The first frame not to use |
| min_x | The minimal x value |
| max_x | The maximal x value |
| res_x | The number of cells on the x axis |
| min_y | The minimal y value |
| max_y | The maximal y value |
| res_y | The number of cells on the y axis |
|
static |
Parses the specified values into the specified sequence. The used format is ObjectData2D.
| values | The input values |
| sequence | The output sequence containing the parsed values |
| image_width | The width of the image used for normalized coordinates |
| image_height | The height of the image used for normalized coordinates |
| temporal_weight | The temporal weight |
| spatial_weight | The spatial weight |
|
static |
Parses the specified values into the specified sequence. The used format is ObjectDataAngular.
| values | The input values |
| sequence | The sequence to store the created objects in |
| image_width | The width of the image used for normalized coordinates |
| image_height | The height of the image used for normalized coordinates |
| temporal_weight | The temporal weight |
| spatial_weight | The spatial weight |
| angular_weight | The angular weight |
|
static |
Parses the specified values into the specified sequence. The used format is ObjectDataBox.
| values | The input values |
| sequence | The output sequence containing the parsed values |
| image_width | The width of the image used for normalized coordinates |
| image_height | The height of the image used for normalized coordinates |
| temporal_weight | The temporal weight |
| spatial_weight | The spatial weight |
1.8.12