First time here? Check out the FAQ!
answered 2013-06-15 07:11:28 -0600
format() comes in handy there:
for(int i=22; i<24; i++){ cv::Mat m = cv::imread( cv::format("%d.jpg",i) ); }