I’d like to use OpenFramework to load pictures from disk, apply a filtering thanks to ofxOpenCV and save the result back to disk.
When I look in forums and similar places, I see people using cvLoadImage and cvSaveImage, but after careful search in ofxOpenCV sources, I can’t find these two functions (and so does my compiler).
I’ve compiled the ofxOpenCV exemple with no problem, though.
I’ve also found someone recommending to use ofImage type for loading and then setFromPixels to convert this image type into ofxCvColorImage. I guess I could do that too to save the image back to disk, but won’t I recopy twice my picture for nothing ?
Could you give me some hints on how I could do that in the most efficient way ?