0

What I want is simple: I need to open all images in a folder (I dont care for subfolders but it would be great to be able to search subfolders) and turn them into a vector of IplImage*s so I can use Boost.Foreach to loop through each image. How can I achieve this?

In silico
  • 51,091
  • 10
  • 150
  • 143
Rella
  • 65,003
  • 109
  • 363
  • 636

1 Answers1

2

Take a look at boost filesystem to find all the images files in a directory.

Then cvLoadImage or cv:imread to read each file

Martin Beckett
  • 94,801
  • 28
  • 188
  • 263