VQEG / siti-tools

SI TI calculation tools
MIT License
39 stars 7 forks source link

Handle content with > 8 bit #4

Closed slhck closed 3 years ago

slhck commented 3 years ago

Suggestions on how to deal with content that is > 8 bit:

Option 1:

Option 2:

Option 3:

Group decision seems to go towards option 3.

slhck commented 3 years ago

Not quite sure what to do with SDR, 10-bit. Need to adapt the CLI interface a little bit, or infer the bit depth from FFmpeg.

slhck commented 3 years ago

Now we're actually handling all content between 0 and 1 and apply the HDR conversions functions there. Then we still have output in the range of 0-1.

This means SI/TI are calculated on that range, and not the original range.

slhck commented 3 years ago

Solution is now implemented to convert back to original range 8-bit range.

See: https://docs.google.com/presentation/d/1zvdbEOmnBWbSE3YrI9VWzpZO35VAAmO8CQ33URRkq9k/edit#slide=id.gd0fe7ad648_0_5

slhck commented 3 years ago

This should be fine now as-is with the scaling to 0-1 and later upscaling to the 0-255 range.