rageworx / fl_imgtk

FLTK image toolkit for some useful effects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tone mapping has bugs, need to solve

rageworx opened this issue · comments

Drago and Reinhard has bug.
result image is stained, not looks like HDR.

Found some different calculating on const float and definition macro in luminece with reference RGB and XYZ conversion.
It need to be changed to as FreeImage3 library's way.

Latest update fixed all bugs.