Adding custom file formats to OpenCV
I have Googled around and can't seem to find anything on how to do this. I have some custom file formats that I would like to make compatible with imread. How do you "teach" OpenCV to read custom image formats? If I understand correctly, you basically read the image into a matrix, so somewhere in the OpenCV code there are file handlers, usually they refer to the appropriate library (libjpeg, libtiff, rtc). How would I integrate my own?
Thanks!
take a look at this SO answer. i believe it would be helpful about what you want to do.