The original images are computed values from a simulation.
A video with 12 or at least 10 bits per color is preferred instead of the default 8 bit.
The original images are computed values from a simulation.
A video with 12 or at least 10 bits per color is preferred instead of the default 8 bit.
I got two ideas (which has not been verified).
The first is simple but feasible, that is, write those frames as .exr files which contain hdr data. And then use ffmpeg or lumahdrv to generate an HDR video.
The second may be easier but I'm not sure if it will work. In openCV, the class VideoWriter has an attribute cv.VIDEOWRITER_PROP_DEPTH, which is CV_8U as default, maybe we may set it as CV_16F or CV_32F to write a float frame.
There is a still image solution for Python based on OpenCV based on making several output images with different intensities. Can the same techniques be used for video by creating several output videos and overlapping them?