Re: ISO 21496‐1:20XX Gain Maps

> On Nov 15, 2023, at 22:53, Pierre-Anthony Lemieux <pal@sandflow.com> wrote:
> 
> On Wed, Nov 15, 2023 at 12:24 PM Leo Barnes <lbarnes@apple.com <mailto:lbarnes@apple.com>> wrote:
>> 
>> 
>> 
>>> On Nov 15, 2023, at 20:47, Pierre-Anthony Lemieux <pal@sandflow.com> wrote:
>>> 
>>>> Thanks for that data, although it mainly covers JPEG-compressed images.
>>> 
>>> I think I understand gainmap in the context of compatibility with JPEG
>>> 1, which is ubiquitous and cannot support HDR natively.
>>> 
>>> I am not sure how this applies to PNG and other formats that can
>>> support HDR natively.
>> 
>> Please see these points made earlier:
>>> But gain maps that allow you to go from HDR->SDR are also highly useful. They allow:
>>> 1. Imaging pipelines to provide their own "look" for how an HDR image should look as SDR. Local tone-mapping from HDR to SDR is non-trivial and highly subjective and pipelines may want to apply their own artistic effects.
> 
> This is surprising to me since tone mapping to SDR ultimately depends
> on user preference, viewing conditions, display capabilities, night
> mode, etc. Why bake a particular SDR render in the image?

Because the image creator believed this to be the best SDR render for the image. Or the one that best matched the style that he/she prefers.
From the point of view of a content creator, they may want to specifically boost shadows or highlights in certain parts of an image in a way that regular tone mapping algorithms simply can't or don't do.
From the point of view of a camera manufacturer, they may want all their images to have a certain consistent style when shown in SDR.

> 
>>> 2. A defined way of interpolating between HDR and SDR. Highly useful when your display does not have the headroom to fully display the HDR content.
> 
> Same above.

This goes hand in hand with the above. Apart from that, there have been complaints that various implementations do tone mapping from HDR to SDR differently and that the results may be inconsistent between various systems and applications. With the gainmap you provide all the details needed to show the image as the author intended it. Both in HDR and SDR and anywhere in between.

Cheers,
//Leo

> 
>> 
>> Cheers,
>> //Leo
>> 
>>> 
>>> On Wed, Nov 15, 2023 at 11:12 AM Chris Lilley <chris@w3.org> wrote:
>>>> 
>>>> Thanks for that data, although it mainly covers JPEG-compressed images.
>>>> 
>>>> I would be interested to see a comparison between, for example:
>>>> 
>>>> 8 bit PNG compressed SDR image plus 10 bit PNG compressed HDR image
>>>> 8 bit PNG compressed baseline SDR image containing un-resampled 16-bit gain map
>>>> 
>>>> both in terms of file sizes and also in terms of per-pixel error visualization in the reconstructed alternate image.
>>>> 
>>>> On 2023-11-15 14:03, Leo Barnes wrote:
>>>> 
>>>> The claim of storage efficiency has not been backed up by any measurements that I have seen.
>>>> 
>>>> 
>>>> It's in the white-paper published by Adobe:
>>>> 
>>>> --
>>>> Chris Lilley
>>>> @svgeesus
>>>> Technical Director @ W3C
>>>> W3C Strategy Team, Core Web Design
>>>> W3C Architecture & Technology Team, Core Web & Media

Received on Wednesday, 15 November 2023 22:38:05 UTC