I have a 3D digital camera that produces image pairs in the .mpo file format. Each file contains essentially a pair of standard jpeg images, one after another. I know I can manually convert these into separate jpeg files, but that would be cumbersome for large numbers of images.
Since OpenCV contains jpeg-reading code, can anyone suggest a reasonable c++ approach for reading an MPO file and producing two cv::Mat objects?