1 | initial version |
since you can only write 8bits (1 or 3 chan) images to video, you have to convert them:
Mat bgr32f = ... // from your hdr sequence
Mat bgr8u;
bgr32f.convertTo( bgr8u, CV_8U, /*maybe-some-scale-factor-here*/);
oVideoWriter << bgr8u;