23 February 2015 1 7K Report

I copied some images to a vector in c++. Now I need the same mats in some place. How I will get my data back from push_back. Please help me out. Here is the part of the code......

for (ic = 0; ic < images.size(); ic++)

{

roi_b.x = images[ic].x;

roi_b.y = images[ic].y;

roi_b.width = (images[ic].width);

roi_b.height = (images[ic].height);

crop = image(roi_b);

Ims.push_back(crop); //Ims

}

Now let suppose I need back data stored at ims. How i will get that

More Khalil Khan's questions See All
Similar questions and discussions