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

The ReinhardTMO class. More...

#include <reinhard_tmo.hpp>

Inheritance diagram for pic::ReinhardTMO:
pic::ToneMappingOperator

Public Member Functions

 ReinhardTMO (float alpha=0.18f, float whitePoint=-1.0f, float phi=8.0f, SIGMOID_MODE sig_mode=SIG_TMO)
 ReinhardTMO. More...
 
 ~ReinhardTMO ()
 
void update (float alpha=0.18f, float whitePoint=1e6f, float phi=8.0f, SIGMOID_MODE sig_mode=SIG_TMO)
 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 estimateAlpha (float LMin, float LMax, float logAverage)
 estimateAlpha More...
 
static float estimateWhitePoint (float LMin, float LMax)
 estimateWhitePoint More...
 
static ImageexecuteGlobal1 (Image *imgIn, Image *imgOut)
 executeGlobal1 More...
 
static ImageexecuteGlobal2 (Image *imgIn, Image *imgOut)
 executeGlobal2 More...
 
static ImageexecuteLocal1 (Image *imgIn, Image *imgOut)
 executeLocal1 More...
 
static ImageexecuteLocal2 (Image *imgIn, Image *imgOut)
 executeLocal2 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...
 

Static Protected Member Functions

static float sigmoidParam (float x, std::vector< float > &param)
 sigmoidParam More...
 
static float sigmoidInvParam (float y, std::vector< float > &param)
 sigmoidInvParam More...
 

Protected Attributes

SIGMOID_MODE sig_mode
 
float alpha
 
float whitePoint
 
float phi
 
FilterSigmoidTMO flt_sigmoid
 
FilterBilateral2DS flt_bilateral
 
FilterLuminance flt_lum
 
- Protected Attributes inherited from pic::ToneMappingOperator
ImageVec images
 

Detailed Description

The ReinhardTMO class.

Constructor & Destructor Documentation

◆ ReinhardTMO()

pic::ReinhardTMO::ReinhardTMO ( float  alpha = 0.18f,
float  whitePoint = -1.0f,
float  phi = 8.0f,
SIGMOID_MODE  sig_mode = SIG_TMO 
)
inline

ReinhardTMO.

Parameters
alpha
whitePoint
phi
sig_mode

◆ ~ReinhardTMO()

pic::ReinhardTMO::~ReinhardTMO ( )
inline

Member Function Documentation

◆ estimateAlpha()

static float pic::ReinhardTMO::estimateAlpha ( float  LMin,
float  LMax,
float  logAverage 
)
inlinestatic

estimateAlpha

Parameters
LMin
LMax
logAverage
Returns

◆ estimateWhitePoint()

static float pic::ReinhardTMO::estimateWhitePoint ( float  LMin,
float  LMax 
)
inlinestatic

estimateWhitePoint

Parameters
LMin
LMax
Returns

◆ executeGlobal1()

static Image* pic::ReinhardTMO::executeGlobal1 ( Image imgIn,
Image imgOut 
)
inlinestatic

executeGlobal1

Parameters
imgIn
imgOut
Returns

◆ executeGlobal2()

static Image* pic::ReinhardTMO::executeGlobal2 ( Image imgIn,
Image imgOut 
)
inlinestatic

executeGlobal2

Parameters
imgIn
imgOut
Returns

◆ executeLocal1()

static Image* pic::ReinhardTMO::executeLocal1 ( Image imgIn,
Image imgOut 
)
inlinestatic

executeLocal1

Parameters
imgIn
imgOut
Returns

◆ executeLocal2()

static Image* pic::ReinhardTMO::executeLocal2 ( Image imgIn,
Image imgOut 
)
inlinestatic

executeLocal2

Parameters
imgIn
imgOut
Returns

◆ ProcessAux()

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

ProcessAux.

Parameters
imgIn
imgOut
Returns

Reimplemented from pic::ToneMappingOperator.

◆ sigmoidInvParam()

static float pic::ReinhardTMO::sigmoidInvParam ( float  y,
std::vector< float > &  param 
)
inlinestaticprotected

sigmoidInvParam

Parameters
y
param
Returns

◆ sigmoidParam()

static float pic::ReinhardTMO::sigmoidParam ( float  x,
std::vector< float > &  param 
)
inlinestaticprotected

sigmoidParam

Parameters
x
param
Returns

◆ update()

void pic::ReinhardTMO::update ( float  alpha = 0.18f,
float  whitePoint = 1e6f,
float  phi = 8.0f,
SIGMOID_MODE  sig_mode = SIG_TMO 
)
inline

update

Parameters
alpha
whitePoint
phi
sig_mode

Member Data Documentation

◆ alpha

float pic::ReinhardTMO::alpha
protected

◆ flt_bilateral

FilterBilateral2DS pic::ReinhardTMO::flt_bilateral
protected

◆ flt_lum

FilterLuminance pic::ReinhardTMO::flt_lum
protected

◆ flt_sigmoid

FilterSigmoidTMO pic::ReinhardTMO::flt_sigmoid
protected

◆ phi

float pic::ReinhardTMO::phi
protected

◆ sig_mode

SIGMOID_MODE pic::ReinhardTMO::sig_mode
protected

◆ whitePoint

float pic::ReinhardTMO::whitePoint
protected

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