answered 2014-03-31 06:14:40 -0600
For the first loop, it should be:
vector <Mat> Images;
For the second loop, it shoud be:
vector<vector<Mat>> FilesVector; FilesVector.push_back(Images);