Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Imread many image of type Mat

Hello , I want to place my image base loop. knowing that my images are declared Mat guy in my program for now I get to read one image. Please as I can do this loop! thank you

Imread many image of type Mat

Hello , I want to place my treat many image base in a loop. knowing that my images are declared Mat guy in my program for now I get to read one image. Please as I can do this loop! thank you

Imread many image of type Mat

Hello , With my program I want to treat can read an image. Now I have many image in a loop. knowing that my images are declared Mat guy in my program database. for now How can I get to do read one image. the image loop! Please as I can do this loop! (the type of image is Mat) Please! thank you

Imread many image of type Mat

Hello , With my program I can read an image. Now I have many images in my database. How can I do read the image loop! (the type of image is Mat) Please! thank you

int main()
{
vector<Mat> frames;
char filename[100] ;
    for (int i=1;i<4;i++){
        sprintf(filename,"/home/user/Bureau/Nouveau dossier/sobel-test/uEyeImg000%d.tif",i);
        Mat frame=imread(filename);
        frames.push_back(frame);

    }
    waitKey(0);
     return 0 ;
}