Compare Quality Score about 32-bit hdr image

62 views
Skip to first unread message

Skyler

unread,
Jul 26, 2023, 4:21:24 AM7/26/23
to HDR VDP
Hello, Rafal
 
I'm using HDR-VDP-3 to calculate the Q-Score.
The input images should normalize to [0, 1]. But I have multiple test images to compare the reference image. All of them are 32-bit hdr images, and I directly divide the range's maximum. The lower value will not fit the bit depth and become zero.

How do I use the correct method to normalize the test & reference images?

Thank you so much.
Best regards
Skyler.

Rafal

unread,
Jul 28, 2023, 4:44:24 AM7/28/23
to HDR VDP
I have already replied by email - now I am reposting for the benefit of others.

HDR-VDP requires that the pixel values are provided in the absolute photometric units:


The simplest approach is to pass:

exposure = 4000/max(img_reference(:));

hdrvdp3( ..., img_test * exposure, img_reference * exposure, ... )

If the metric is to be used to evaluate single-image-HDR reconstruction methods, I recommend using the camera response curve correction from: 


In that case, I suggest that you apply the exposure compensation above only on the reference image (in the linear colour space) and then use:


to align the test image.

Rafal
Reply all
Reply to author
Forward
0 new messages