Open lhh31 opened 2 years ago
For a 16bit input image with parameters c1 =3 and c2 = 1.5, we are able to see proper 8bit output image. Can you share your 16bit input image to gtm kernel. With changing values of c1, c2, saturation errors is expected.
Hi @lhh31 ,
There were recent updates in data types of the GTM design files. Please check if your issue is resolved with the latest code.
Using Vitis 2021.2 to compile to Vivado IP then using this in a Petalinux build.
See above image (partial not the full res) when using the global tone mapping (c1 = 3.0, c2 = 1.5) when running against a 3456x3456 image. The input is a 16bit and the output an 8bit. Changing the values of c1 and c2 just give different kinds of saturation errors.
Is this a bug in Vitis or something I have done wrong in my setup?