PICCANTE  0.4
The hottest HDR imaging library!
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
pic::FerwerdaTMO Class Reference

The FerwerdaTMO class. More...

#include <ferwerda_tmo.hpp>

Inheritance diagram for pic::FerwerdaTMO:
pic::ToneMappingOperator

Public Member Functions

 FerwerdaTMO (float Ld_Max=100.0f, float Ld_a=50.0f, float Lw_a=50.0f)
 FerwerdaTMO. More...
 
 ~FerwerdaTMO ()
 
void update (float Ld_Max=100.0f, float Ld_a=50.0f, float Lw_a=50.0f)
 update More...
 
- Public Member Functions inherited from pic::ToneMappingOperator
 ToneMappingOperator ()
 ToneMappingOperator. More...
 
void release ()
 release More...
 
void updateImage (Image *imgIn)
 updateImage More...
 
ImageProcess (ImageVec imgIn, Image *imgOut=NULL)
 Process. More...
 

Static Public Member Functions

static float Ts (float x)
 Ts computes the gamma function used in Ferwerda TMO for Scotopic levels (rods' cells). More...
 
static float Tp (float x)
 Tp computes the gamma function used in Ferwerda TMO for Photopic levels (cones' cells). More...
 
static float WalravenValetonK (float Lw_a, float sigma=100.0f)
 WalravenValetonK. More...
 
static Imageexecute (Image *imgIn, Image *imgOut)
 execute More...
 
- Static Public Member Functions inherited from pic::ToneMappingOperator
static void getScaleFiltering (Image *imgIn, int &fScaleX, int &fScaleY)
 getScaleFiltering More...
 

Protected Member Functions

ImageProcessAux (ImageVec imgIn, Image *imgOut)
 ProcessAux. More...
 
- Protected Member Functions inherited from pic::ToneMappingOperator
virtual void releaseAux ()
 releaseAux More...
 

Protected Attributes

float Ld_Max
 
float Ld_a
 
float Lw_a
 
FilterLuminance flt_lum
 
- Protected Attributes inherited from pic::ToneMappingOperator
ImageVec images
 

Detailed Description

The FerwerdaTMO class.

Constructor & Destructor Documentation

◆ FerwerdaTMO()

pic::FerwerdaTMO::FerwerdaTMO ( float  Ld_Max = 100.0f,
float  Ld_a = 50.0f,
float  Lw_a = 50.0f 
)
inline

FerwerdaTMO.

Parameters
Ld_Max
Ld_a
Lw_a

◆ ~FerwerdaTMO()

pic::FerwerdaTMO::~FerwerdaTMO ( )
inline

Member Function Documentation

◆ execute()

static Image* pic::FerwerdaTMO::execute ( Image imgIn,
Image imgOut 
)
inlinestatic

execute

Parameters
imgIn
imgOut
Returns

◆ ProcessAux()

Image* pic::FerwerdaTMO::ProcessAux ( ImageVec  imgIn,
Image imgOut 
)
inlineprotectedvirtual

ProcessAux.

Parameters
imgIn
imgOut
Returns

Reimplemented from pic::ToneMappingOperator.

◆ Tp()

static float pic::FerwerdaTMO::Tp ( float  x)
inlinestatic

Tp computes the gamma function used in Ferwerda TMO for Photopic levels (cones' cells).

Parameters
x
Returns

◆ Ts()

static float pic::FerwerdaTMO::Ts ( float  x)
inlinestatic

Ts computes the gamma function used in Ferwerda TMO for Scotopic levels (rods' cells).

Parameters
x
Returns

◆ update()

void pic::FerwerdaTMO::update ( float  Ld_Max = 100.0f,
float  Ld_a = 50.0f,
float  Lw_a = 50.0f 
)
inline

update

Parameters
Ld_Max
Ld_a
Lw_a

◆ WalravenValetonK()

static float pic::FerwerdaTMO::WalravenValetonK ( float  Lw_a,
float  sigma = 100.0f 
)
inlinestatic

WalravenValetonK.

Parameters
Lw_ais the world adaptation luminance in cd/m^2
sigma
Returns

Member Data Documentation

◆ flt_lum

FilterLuminance pic::FerwerdaTMO::flt_lum
protected

◆ Ld_a

float pic::FerwerdaTMO::Ld_a
protected

◆ Ld_Max

float pic::FerwerdaTMO::Ld_Max
protected

◆ Lw_a

float pic::FerwerdaTMO::Lw_a
protected

The documentation for this class was generated from the following file: