开发者

How to create a program that can read all the images in folder using Boost and OpenCV?

What I want is simple: I need to open all images in a folder (I dont ca开发者_开发问答re 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?


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

Then cvLoadImage or cv:imread to read each file

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜