I’d like to be able to directly save images with ofCvGrayscaleImage and ofCvColorImage, without having to copy my images to ofImage to save them.
OpenCv has the function cvSaveImage(filename, cvimage) but when I try to compile it says:
error C3861: ‘cvSaveImage’: identifier not found
Saving images is part of the highgui lib which is a utility lib for openCV - I think if you add in the cv highgui lib and header files it should work. Though I am not sure how hard that is - I always remember highgui being a little more tricky to get working.