Implement a very simple tone mapping for testing purpose