chxy95 / HDRTVNet

ICCV2021 - A New Journey from SDRTV to HDRTV.
MIT License
125 stars 21 forks source link

How to split hdr video into 16 bit image! #22

Open zzksdu opened 7 months ago

zzksdu commented 7 months ago

@chxy95 hi,

  1. how to split 16bit frames from hdr video? In your script, the ffmpeg command is : ffmpeg - hdr.mp4 -r 0.5 -f image2 out_%03d.png. but, i only get 8bit image. so, what is the right cmd to split hdr video into 16bit frame?
  2. the ori video is 10bit, but your dataset hdr image is 16bit. so the A the pixel values ​​of 16-bit images obtained by multiplying the original pixels by 64?
JieFangjun0 commented 6 months ago

I also have a question about the second issue. Regarding your question, the answer is no. I read an HDR image and statistically analyzed the pixel values, which are not all multiples of 64. I am also curious about how the 10-bit data is converted to 16-bit.