18 #ifndef PIC_GL_TONE_MAPPING_DURAND_TMO_HPP 19 #define PIC_GL_TONE_MAPPING_DURAND_TMO_HPP 21 #include "../../util/string.hpp" 22 #include "../../util/math.hpp" 23 #include "../../util/std_util.hpp" 25 #include "../../gl/filtering/filter_luminance.hpp" 26 #include "../../gl/filtering/filter_bilateral_2ds.hpp" 27 #include "../../gl/filtering/filter_op.hpp" 28 #include "../../gl/filtering/filter_durand_tmo.hpp" 93 stdVectorClear<FilterGL>(
filters);
~DurandTMOGL()
Definition: durand_tmo.hpp:91
std::string fromNumberToString(T num)
fromNumberToString converts a number into a string.
Definition: string.hpp:102
float heightf
Definition: filter_radial_basis_function.hpp:84
PIC_INLINE float log10fPlusEpsilon(float x)
log10fPlusEpsilon
Definition: math.hpp:355
Definition: filter_bilateral_2ds.hpp:29
PIC_INLINE ImageGLVec SingleGL(ImageGL *img)
SingleGL creates a single for filters input.
Definition: image_vec.hpp:39
Definition: filter_op.hpp:28
float max_log_base
Definition: durand_tmo.hpp:47
ImageGL * img_lum
Definition: durand_tmo.hpp:42
The ImageGL class.
Definition: image.hpp:42
float * getMinVal(float *ret=NULL)
getMinVal
Definition: image.hpp:431
ImageGL * img_lum_base
Definition: durand_tmo.hpp:42
ImageGL * execute(ImageGL *imgIn, ImageGL *imgOut=NULL)
execute
Definition: durand_tmo.hpp:121
virtual ImageGL * Process(ImageGLVec imgIn, ImageGL *imgOut)
Process.
Definition: display.hpp:258
The FilterGLBilateral2DS class.
Definition: filter_bilateral_2ds.hpp:63
DurandTMOGL(float target_contrast=5.0f, bool bStatisticsRecompute=true)
DurandTMOGL.
Definition: durand_tmo.hpp:74
float * getMaxVal(float *ret=NULL)
getMaxVal
Definition: image.hpp:443
FilterGLBilateral2DS * flt_bil
Definition: durand_tmo.hpp:39
float sigma_s
Definition: durand_tmo.hpp:49
float sigma_r
Definition: durand_tmo.hpp:49
void update(float target_contrast)
update
Definition: durand_tmo.hpp:110
float min_log_base
Definition: durand_tmo.hpp:47
float widthf
Definition: filter_radial_basis_function.hpp:84
PIC_INLINE ImageGLVec TripleGL(ImageGL *img1, ImageGL *img2, ImageGL *img3)
TripleGL creates a triple for filters input.
Definition: image_vec.hpp:67
The FilterGLDurandTMO class.
Definition: filter_durand_tmo.hpp:31
bool bAllocate
Definition: durand_tmo.hpp:46
bool bStatisticsRecompute
Definition: durand_tmo.hpp:46
Definition: bilateral_separation.hpp:25
FilterGLDurandTMO * flt_durand
Definition: durand_tmo.hpp:41
float target_contrast
Definition: durand_tmo.hpp:47
The DurandTMOGL class.
Definition: durand_tmo.hpp:35
#define MAX(a, b)
Definition: math.hpp:73
The FilterGLLuminance class.
Definition: filter_luminance.hpp:30
void update(float compression_factor, float log_absolute)
update
FilterGLOp * flt_log10
Definition: durand_tmo.hpp:40
void allocateFilters()
allocateFilters
Definition: durand_tmo.hpp:54
FilterGLLuminance * flt_lum
Definition: durand_tmo.hpp:38
void update(float sigma_s, float sigma_r, BF_TYPE type)
update
std::vector< FilterGL * > filters
Definition: durand_tmo.hpp:44