source: GTP/trunk/App/Demos/Vis/FriendlyCulling/src/ToneMapper.h @ 2968

Revision 2968, 408 bytes checked in by mattausch, 16 years ago (diff)
RevLine 
[2965]1#ifndef __TONEMAPPER_H
2#define __TONEMAPPER_H
3
4#include "common.h"
5
6namespace CHCDemoEngine
7{
8
9
10/** Class representing a tone mapping algorithm
11*/
12class ToneMapper
13{
14public:
15       
16        ToneMapper();
[2966]17        /** Caculates average log lumincance.
[2965]18        */
[2968]19        float CalcImageKey(float *pixels, int w, int h) const;
20
21        float CalcMaxLuminance(float *pixels, int w, int h) const;
[2965]22};
23
24}
25
26#endif // __TONEMAPPER_H
Note: See TracBrowser for help on using the repository browser.