7 #include <QtWidgets/QTextEdit> 11 #include "opencvCompatibilityVersion.h" 14 #include "src/calibration.h" 16 #include "src/hullmodel.h" 17 #include "src/object.h" 18 #include "src/ModelInterface.h" 19 #include "src/ImageHeader.h" 20 #include "src/MobileObject.h" 21 #include "src/MobileObject2D.h" 22 #include "src/RMMT/RMMMobileObject.h" 23 #include "src/rlesegment.h" 24 #include "src/IncrementalEventLearning.h" 25 #include "src/degumodel.h" 26 #include "MODELS/DeguTrackingModel.h" 27 #include "src/groundtruth.h" 28 #include "src/rectangle.h" 29 #include "src/templateclass.h" 30 #include "src/footballConstants.h" 31 #include "src/footballscenemodel.h" 32 #include "src/gtstructures.h" 44 static QVector<QRgb> *setGrayScaleTable();
45 static QVector<QRgb> *setThermalTable();
46 static void deleteTables();
48 void appendToLog(
const QString&);
49 static QString getCurrentDateTimeString();
61 std::vector<QString> moduleSequenceNames;
62 std::vector<double> moduleSequenceMSTime;
63 std::vector<double> moduleSequenceMeanTime;
64 std::vector<double> moduleSequenceVarTime;
65 std::vector<int> moduleSequenceMinTime;
66 std::vector<int> moduleSequenceMaxTime;
84 std::map<ObjectType, SpModelInterface> objectModels;
276 QImage *groundtruthFgImage;
284 QImage *currentDiffImage;
285 QImage *previousDiffImage;
310 miles::SpIncrementalEventLearning eventLearning;
311 miles::SpLearningAttributes availableAttributes;
312 std::map<unsigned long, std::map<int, miles::SpLevelData> > levelData;
313 std::map<unsigned long, std::map<long int, double> > Pr;
319 std::map< ColorModelType , gaussianMixtureColorModel> GMCmodels;
320 appHistType apparienceHist;
321 clusters2D_BOF clustersChroma;
322 clusters1D_BOF clustersLuma;
323 clusters3D_BOF clustersLuv;
324 std::vector<playerCandidate> plCandidates;
375 std::map<QString, DeguTrackingModel *> modelsToFollow;
400 static QVector<QRgb> *thermalTable;
449 std::string connectionQuery;
450 std::string username;
451 std::string password;
453 QList<classType> classes;
454 QList<boundingBox> boxes;
458 void logString(QString);
std::map< QString, double > tunedParametersSet
Stores the current parameter values in the cycle.
Definition: Datapool.h:258
bool cycleActivated
flag used for segmentation cycle. Specifies to consider a cyclic frame sequence.
Definition: Datapool.h:128
QImage * rFgImage
Used for Regional Regmentation results. Format RGB 8 bits each channel.
Definition: Datapool.h:289
std::vector< cv::Mat > rvecs
rvecs. Results of calibration
Definition: Datapool.h:216
std::map< int, std::deque< RLESegment > > RLEFGImage
RLE segments of foreground image, ordered by row.
Definition: Datapool.h:301
std::vector< Rectangle< int > > blobSuperpixelBoundingRegion
Stores information about the considered bounding region (Used by Superpixel modules) ...
Definition: Datapool.h:435
bool runModules
Definition: Datapool.h:446
QImage * currentImage
Reference to current Image given by the acquisition module.
Definition: Datapool.h:91
QImage * maskImage
Mask image used for segmentation.
Definition: Datapool.h:202
SceneModel * sceneModel
A reference to an object of class SceneModel. Stores information of the scene.
Definition: Datapool.h:83
QImage * temporalVariance
used by temporalVarianceBGModule
Definition: Datapool.h:381
QImage * featureMap
Results of reliability segmentation. Format Indexed 8 bits.
Definition: Datapool.h:227
QImage * persoImage
Image used by personality module.
Definition: Datapool.h:412
ImageHeader * currentHeader
Reference to the image header (with date and time information) from the acquisition module...
Definition: Datapool.h:190
long processedFrames
Link to modules structure.
Definition: Datapool.h:77
QImage * previousDepthImage
Reference to a previous Depth Image given by AcquisitionDepthModule. This is used when is explicitly ...
Definition: Datapool.h:152
int frameNumber
Number of the current frame assigned by the acquisition module.
Definition: Datapool.h:58
std::map< QString, double > bestParametersSet
Stores the best parameters reached at current cycle.
Definition: Datapool.h:268
std::vector< cv::Mat > tvecs
tvecs. Results of calibration
Definition: Datapool.h:220
bool postedBestParameters
Establishes if best parameters have been found and then finish the search of them.
Definition: Datapool.h:273
std::vector< Blob > blobs
A blob list.
Definition: Datapool.h:330
Groundtruth groundtruth
Stores pairs groundtruth-object in a sequence of frames.
Definition: Datapool.h:362
QImage * groundtruthImage
Stores segmentation results in ARGB32 format by an aquisition module.
Definition: Datapool.h:281
int superpixel_numlabels
Number of labels found on image by Superpixel modules.
Definition: Datapool.h:424
QString m_config_file
Current configuration file path.
Definition: Datapool.h:391
QImage * currentDepthImage
Reference to current Depth Image given by AcquisitionDepthModule.
Definition: Datapool.h:147
QImage * bgImage
Background Image given by BackgroundInitialization module.
Definition: Datapool.h:196
std::vector< cv::Mat > blobSuperpixelLabels
Labels for superpixel.
Definition: Datapool.h:430
cv::Mat cameraMatrix
Calibration Matrix.
Definition: Datapool.h:208
Definition: calibration.h:51
std::deque< SpMobileObject > objects
Object list. List generally used by tracking modules.
Definition: Datapool.h:347
QImage * colouredFgImage
Image where foreground of diferent methods are draw using their own defined colour.
Definition: Datapool.h:248
Definition: groundtruth.h:30
QImage * reliabilityMap
Results of reliability segmentation. Format Indexed 8 bits.
Definition: Datapool.h:232
cv::Mat currentImageMatYUV
Reference to current YUV Image in Mat format: set by setMatImagesModule.
Definition: Datapool.h:101
std::deque< SpHullModel > hulls
A convex gull model, using OpenCV classes.
Definition: Datapool.h:367
bool firstOfCycle
flag used for segmentation cycle. Used to identify the first frame in a processing cycle for a cyclic...
Definition: Datapool.h:141
static QVector< QRgb > * grayScaleTable
Color table for grayscale image.
Definition: Datapool.h:397
cv::Mat fgImageMat
Foreground Image in Mat CV_8UC1 format: set by setMatImagesModule.
Definition: Datapool.h:111
std::vector< int > blobSuperpixelNumber
Numeric identifier for each blob.
Definition: Datapool.h:439
std::map< int, Object > fake_objects
Definition: Datapool.h:372
QImage * skeletonImage
skeletonImage
Definition: Datapool.h:168
int * superpixel_labels
A buffer with labels for each pixel of the current image (Used by Superpixel modules) ...
Definition: Datapool.h:419
std::vector< cv::Vec4i > lines2
Line list given by HMTracking module.
Definition: Datapool.h:340
std::deque< SpMobileObject2D > objects2D
2D Objects list.
Definition: Datapool.h:352
DeguModel * degu
Degu model for its detection.
Definition: Datapool.h:406
An object of this class is instantiated at main code, and this object is used by every class to push ...
Definition: Datapool.h:39
QImage * previousImage
Reference to a previous Image given by the acquisition module. This is used when is explicitly specif...
Definition: Datapool.h:123
QImage * empiricalReliabilityMap
Results of reliability segmentation. Format Indexed 8 bits.
Definition: Datapool.h:237
QImage * foregroundSampledImage
foregroundSampledImage
Definition: Datapool.h:178
ImageHeader * currentDepthHeader
Reference to the image header (with date and time information) from AcquisitionDepthModule.
Definition: Datapool.h:158
std::vector< cv::Vec2f > lines
Line list given by HMTracking module.
Definition: Datapool.h:336
cv::Mat currentImageMat
Reference to current RGB Image in Mat format: set by setMatImagesModule.
Definition: Datapool.h:96
cv::Mat featureMapMat
Reliability segmentation in Mat CV_8UC1 format.
Definition: Datapool.h:116
cv::Mat currentImageMatY
Current Y Image in Mat CV_8UC1 format: set by setMatImagesModule.
Definition: Datapool.h:106
int * labelMatrix
Array that represents the image data of labels for connected components (with same images size)...
Definition: Datapool.h:253
cv::Mat distCoeffs
Calibration Matrix.
Definition: Datapool.h:212
std::deque< SpRMMMobileObject > RMMobjects
The list of object results from using ReliabilityMultiModelTrackingModule.
Definition: Datapool.h:356
bool tuningEnded
Flag for indicate the end of parameter tuning.
Definition: Datapool.h:263
QImage * grayImage
Reference to the current gray image frame. Used to store gray code image.
Definition: Datapool.h:184
QImage * fgImage
Foreground image that contains segmentation results (format: Indexed 8 bits).
Definition: Datapool.h:243
QImage * personalityPCAImage
Personality PCA image used by Personality Module. Image format RGB 8 bit each channel.
Definition: Datapool.h:295
int frameDepthNumber
Number of the current depth frame assigned by the acquisition module.
Definition: Datapool.h:162
Definition: degumodel.h:35
QImage * filteredImage
Filtered Image given by Filter Module.
Definition: Datapool.h:172
std::map< int, RLERegion > RLERegions
RLE regions of foreground image, ordered by label.
Definition: Datapool.h:307