VAT  3.0
Video Analysis Tool
Signals | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Datapool Class Reference

An object of this class is instantiated at main code, and this object is used by every class to push and pull data. In other words, this class allow the application to share data between classes. More...

#include <Datapool.h>

Inheritance diagram for Datapool:

Signals

void logString (QString)
 
void pause ()
 

Public Member Functions

void appendToLog (const QString &)
 
void pauseApp ()
 
void clear ()
 
void init ()
 

Static Public Member Functions

static QVector< QRgb > * setGrayScaleTable ()
 
static QVector< QRgb > * setThermalTable ()
 
static void deleteTables ()
 
static QString getCurrentDateTimeString ()
 

Public Attributes

int frameNumber
 Number of the current frame assigned by the acquisition module.
 
std::vector< QString > moduleSequenceNames
 
std::vector< double > moduleSequenceMSTime
 
std::vector< double > moduleSequenceMeanTime
 
std::vector< double > moduleSequenceVarTime
 
std::vector< int > moduleSequenceMinTime
 
std::vector< int > moduleSequenceMaxTime
 
double totalTime
 
long processedFrames
 Link to modules structure. More...
 
SceneModelsceneModel
 A reference to an object of class SceneModel. Stores information of the scene.
 
std::map< ObjectType, SpModelInterface > objectModels
 
footballSceneModelfSceneModel
 
QImage * currentImage
 Reference to current Image given by the acquisition module.
 
cv::Mat currentImageMat
 Reference to current RGB Image in Mat format: set by setMatImagesModule.
 
cv::Mat currentImageMatYUV
 Reference to current YUV Image in Mat format: set by setMatImagesModule.
 
cv::Mat currentImageMatY
 Current Y Image in Mat CV_8UC1 format: set by setMatImagesModule.
 
cv::Mat fgImageMat
 Foreground Image in Mat CV_8UC1 format: set by setMatImagesModule.
 
cv::Mat featureMapMat
 Reliability segmentation in Mat CV_8UC1 format.
 
QImage * previousImage
 Reference to a previous Image given by the acquisition module. This is used when is explicitly specified by "save_current" flag.
 
bool cycleActivated
 flag used for segmentation cycle. Specifies to consider a cyclic frame sequence.
 
bool firstOfCycle
 flag used for segmentation cycle. Used to identify the first frame in a processing cycle for a cyclic frame sequence. This flag is used in the following modules:

  1. AcquisitionModule
  2. ForegroundAcquisitionModule
  3. MOGSegmentationModule
  4. TemporalVarianceBGModule
  5. segmentationEvaluationModule
  6. segmentationmodule
  7. ReliabilityMultiModelTrackingModule

 
QImage * currentDepthImage
 Reference to current Depth Image given by AcquisitionDepthModule.
 
QImage * previousDepthImage
 Reference to a previous Depth Image given by AcquisitionDepthModule. This is used when is explicitly specified by "save_current" flag.
 
QImage * NewImage
 
QImage * NewImage2
 
ImageHeadercurrentDepthHeader
 Reference to the image header (with date and time information) from AcquisitionDepthModule.
 
int frameDepthNumber
 Number of the current depth frame assigned by the acquisition module.
 
QImage * skeletonImage
 skeletonImage More...
 
QImage * filteredImage
 Filtered Image given by Filter Module.
 
QImage * foregroundSampledImage
 foregroundSampledImage More...
 
QImage * grayImage
 Reference to the current gray image frame. Used to store gray code image.
 
ImageHeadercurrentHeader
 Reference to the image header (with date and time information) from the acquisition module.
 
QImage * bgImage
 Background Image given by BackgroundInitialization module.
 
QImage * maskImage
 Mask image used for segmentation.
 
cv::Mat cameraMatrix
 Calibration Matrix.
 
cv::Mat distCoeffs
 Calibration Matrix.
 
std::vector< cv::Mat > rvecs
 rvecs. Results of calibration
 
std::vector< cv::Mat > tvecs
 tvecs. Results of calibration
 
QImage * featureMap
 Results of reliability segmentation. Format Indexed 8 bits.
 
QImage * reliabilityMap
 Results of reliability segmentation. Format Indexed 8 bits.
 
QImage * empiricalReliabilityMap
 Results of reliability segmentation. Format Indexed 8 bits.
 
QImage * fgImage
 Foreground image that contains segmentation results (format: Indexed 8 bits).
 
QImage * colouredFgImage
 Image where foreground of diferent methods are draw using their own defined colour.
 
int * labelMatrix
 Array that represents the image data of labels for connected components (with same images size).
 
std::map< QString, double > tunedParametersSet
 Stores the current parameter values in the cycle.
 
bool tuningEnded
 Flag for indicate the end of parameter tuning.
 
std::map< QString, double > bestParametersSet
 Stores the best parameters reached at current cycle.
 
bool postedBestParameters
 Establishes if best parameters have been found and then finish the search of them.
 
QImage * groundtruthFgImage
 
QImage * groundtruthImage
 Stores segmentation results in ARGB32 format by an aquisition module.
 
QImage * currentDiffImage
 
QImage * previousDiffImage
 
QImage * rFgImage
 Used for Regional Regmentation results. Format RGB 8 bits each channel.
 
QImage * personalityPCAImage
 Personality PCA image used by Personality Module. Image format RGB 8 bit each channel.
 
std::map< int, std::deque< RLESegment > > RLEFGImage
 RLE segments of foreground image, ordered by row.
 
std::map< int, RLERegionRLERegions
 RLE regions of foreground image, ordered by label.
 
miles::SpIncrementalEventLearning eventLearning
 
miles::SpLearningAttributes availableAttributes
 
std::map< unsigned long, std::map< int, miles::SpLevelData > > levelData
 
std::map< unsigned long, std::map< long int, double > > Pr
 
std::map< ColorModelType, gaussianMixtureColorModelGMCmodels
 
appHistType apparienceHist
 
clusters2D_BOF clustersChroma
 
clusters1D_BOF clustersLuma
 
clusters3D_BOF clustersLuv
 
std::vector< playerCandidateplCandidates
 
std::vector< Blobblobs
 A blob list.
 
std::vector< cv::Vec2f > lines
 Line list given by HMTracking module.
 
std::vector< cv::Vec4i > lines2
 Line list given by HMTracking module.
 
std::deque< SpMobileObject > objects
 Object list. List generally used by tracking modules.
 
std::deque< SpMobileObject2D > objects2D
 2D Objects list.
 
std::deque< SpRMMMobileObject > RMMobjects
 The list of object results from using ReliabilityMultiModelTrackingModule.
 
Groundtruth groundtruth
 Stores pairs groundtruth-object in a sequence of frames.
 
std::deque< SpHullModel > hulls
 A convex gull model, using OpenCV classes.
 
std::map< int, Objectfake_objects
 
std::map< QString, DeguTrackingModel * > modelsToFollow
 
QImage * temporalVariance
 used by temporalVarianceBGModule More...
 
QString m_config_file
 Current configuration file path.
 
DeguModeldegu
 Degu model for its detection.
 
QImage * persoImage
 Image used by personality module.
 
int * superpixel_labels
 A buffer with labels for each pixel of the current image (Used by Superpixel modules)
 
int superpixel_numlabels
 Number of labels found on image by Superpixel modules.
 
std::vector< cv::Mat > blobSuperpixelLabels
 Labels for superpixel.
 
std::vector< Rectangle< int > > blobSuperpixelBoundingRegion
 Stores information about the considered bounding region (Used by Superpixel modules)
 
std::vector< int > blobSuperpixelNumber
 Numeric identifier for each blob.
 
bool runModules
 
std::string connectionQuery
 
std::string username
 
std::string password
 
std::string dbName
 
QList< classTypeclasses
 
QList< boundingBoxboxes
 
QString currentFile
 

Static Public Attributes

static QVector< QRgb > * grayScaleTable = NULL
 Color table for grayscale image.
 
static QVector< QRgb > * thermalTable = NULL
 

Detailed Description

An object of this class is instantiated at main code, and this object is used by every class to push and pull data. In other words, this class allow the application to share data between classes.

Member Data Documentation

std::map<int, Object> Datapool::fake_objects
QImage* Datapool::foregroundSampledImage

foregroundSampledImage

long Datapool::processedFrames

Link to modules structure.

Counts the number of frames that have been processed.

bool Datapool::runModules

This flag can be used to stop module sequence excecution at any point Useful for modules that require an initialization process and don't provide valid output until certain conditions are met.

QImage* Datapool::skeletonImage

skeletonImage

QImage* Datapool::temporalVariance

used by temporalVarianceBGModule


The documentation for this class was generated from the following files: