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::SchlickTMO Class Reference

The SchlickTMO class. More...

#include <schlick_tmo.hpp>

Inheritance diagram for pic::SchlickTMO:
pic::ToneMappingOperator

Public Member Functions

 SchlickTMO (std::string mode, float p, int nBit, float L0, float k)
 SchlickTMO. More...
 
 ~SchlickTMO ()
 
void update (std::string mode="automatic", float p=200.0f, int nBit=8, float L0=1.0f, float k=0.5f)
 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 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

std::string mode
 
int nBit
 
float k
 
float p
 
float L0
 
FilterLuminance flt_lum
 
- Protected Attributes inherited from pic::ToneMappingOperator
ImageVec images
 

Detailed Description

The SchlickTMO class.

Constructor & Destructor Documentation

◆ SchlickTMO()

pic::SchlickTMO::SchlickTMO ( std::string  mode,
float  p,
int  nBit,
float  L0,
float  k 
)
inline

SchlickTMO.

Parameters
modevalid values are: "nonuniform", "automatic", "standard"
pis a model parameter which takes values in [1,+inf].
nBitthe number of bits of the output LDR display
L0is lowest value of the LDR monitor that can be perceived by the HVS.
kis a value in [0,1].

◆ ~SchlickTMO()

pic::SchlickTMO::~SchlickTMO ( )
inline

Member Function Documentation

◆ execute()

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

execute

Parameters
imgIn
imgOut
Returns

◆ ProcessAux()

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

ProcessAux.

Parameters
imgIn
imgOut
Returns

Reimplemented from pic::ToneMappingOperator.

◆ update()

void pic::SchlickTMO::update ( std::string  mode = "automatic",
float  p = 200.0f,
int  nBit = 8,
float  L0 = 1.0f,
float  k = 0.5f 
)
inline

update

Parameters
modevalid values are: "nonuniform", "automatic", "standard"
pis a model parameter which takes values in [1,+inf].
nBitthe number of bits of the output LDR display
L0is lowest value of the LDR monitor that can be perceived by the HVS.
kis a value in [0,1].

Member Data Documentation

◆ flt_lum

FilterLuminance pic::SchlickTMO::flt_lum
protected

◆ k

float pic::SchlickTMO::k
protected

◆ L0

float pic::SchlickTMO::L0
protected

◆ mode

std::string pic::SchlickTMO::mode
protected

◆ nBit

int pic::SchlickTMO::nBit
protected

◆ p

float pic::SchlickTMO::p
protected

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