7 #include "ModuleInterface.h" 9 #include "opencv2/opencv.hpp" 10 #include "VideoAnalysis.h" 12 #include <boost/random.hpp> 13 #include <boost/random/normal_distribution.hpp> 14 #define Nparticles 100 17 #define PI 3.14159265358979323846 54 bool setParameters(QDomNode& config);
63 bool updateParameters();
70 QImage Detectar_Deltas(QImage,QRgb);
71 QImage currentimage_shadow;
90 std::deque<BlobPoint> bloob;
92 std::vector<Particle> Particles;
94 double PesosAcumulados[Nparticles] ;
100 bool paintCaja(QImage *);
112 void SeekMaxInModel();
119 int MaxHistrogramModel[3];
123 int pick_base_sample();
124 void CalculaPesosAcumulados();
125 int BusquedaBinaria();
127 void initRandomParticles();
128 void PropagaEn2Niveles();
129 void calculaPesosConLikelihood();
134 void VaciaHistogramaDepth();
136 void llenaHistogramaDepth();
138 void suavizarHistograma();
142 void MinMaxLocales();
151 int segColorDepth[256];
154 void SegmentaDepth();
158 cv::Mat copiaCV_Depth;
159 cv::Mat copiaCV_DepthGray;
162 cv::Mat formatconv_QT2CV(
const QImage );
163 QImage formatconv_CV2QT(
const cv::Mat&);
165 boost::random::mt19937 rng;
166 double GaussianValue(
float,
float,
float,
float,
int,
int,
int,
int);
Definition: ModuleInterface.h:43
An object of this class is instantiated at main code, and this object is used by every class to push ...
Definition: Datapool.h:39