Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Does opencv has type cell like matlab that can store several Matrices

Hi, I am working on image processing for my thesis and I need process hundreds of images at one time, so I would like to know whether I can store these image mat in one data structure, like cell in matlab, then I can get something like the following:

Cell all_images = cell(1,numofImage); for (int i = 0; i < numofImageļ¼›i++){ Mat img = imread( image(i) ) all_images(i) = img; }

Or does there exists some other ways for me to store several images at one time? By the way, I am using VS2013 with C++. Does anyone who has some idea about it? Thanks! ^0^