Hi. How do I get average of the 3 frames?
This is what I have done until now...
std::list<float*> Nframes;
Mat Ex = Mat::zeros( width, height, CV_8UC1 );
for(int i = 0; i < Nframes.size(); i++)
{
Ex += Nframes.front();
}
Mat Result=Ex/Nframes.size();
I do not know what is the problem since I get error in line:
`Ex += Nframes.front();`