Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hot to read uint16 movie jpeg 2000 files (mj2) with open cv and c++

Hi, I have 1000x1000 uint16 mj2 video files, genrerated with matlab (v = VideoWriter('testData','Archival')), and want to read them in with opencv and c++. I tried to this with videocapture.read, but it reads them in as 8Bit 3CH. The high resolution is important for me, because I need to detect extreme small changes in intensity for intrinsic imaging of brains.

Is there a simple way to tell opencv that this is a 16Bit U16 file?

Best Regards Florian