Maybe this is somehow obvious, but I'm still a newbie... ^^"
I use OpenCV to save some images to a video-file. I have 16-bit grayscale images and I found out that cvWriteFrame
can only handle 8-bit images. Since I need to process the video later in another context and for that purpose I can't afford the information loss, I'm trying to find a way to save my 16-bit images to videos.
I tried every CV_FOURCC from this documentation. But I'm not sure if it's really a codec problem.
PS: I know it's possible to save them as separate 16-bit image-files, but I find the video solution cleaner.