PICCANTE  0.4
The hottest HDR imaging library!
Namespaces | Macros | Enumerations | Functions
dynamic_range.hpp File Reference
#include "../base.hpp"
#include "../util/math.hpp"

Go to the source code of this file.

Namespaces

 pic
 

Macros

#define PIC_UTIL_DYNAMIC_RANGE_HPP
 

Enumerations

enum  pic::LDR_type { pic::LT_NOR, pic::LT_NOR_GAMMA, pic::LT_LDR, pic::LT_NONE }
 The LDR_type enum. More...
 

Functions

PIC_INLINE float pic::estimateAverageLuminance (float shutter_speed, float aperture_value=1.0f, float iso_value=1.0f, float K_value=12.5f)
 estimateAverageLuminance estimates the average luminance of the shot. More...
 
PIC_INLINE bool pic::checkNormalized (const float *data, int size, float delta=1e-6f)
 checkNormalized checks if data is in [0,1]. More...
 
PIC_INLINE float * pic::convertLDR2HDR (unsigned char *dataIn, float *dataOut, int size, LDR_type type, float gamma=2.2f)
 convertLDR2HDR converts a buffer of unsigned char into float. More...
 
PIC_INLINE unsigned char * pic::convertHDR2LDR (const float *dataIn, unsigned char *dataOut, int size, LDR_type type, float gamma=2.2f)
 convertHDR2LDR converts a buffer of float into unsigned char. More...
 

Macro Definition Documentation

◆ PIC_UTIL_DYNAMIC_RANGE_HPP

#define PIC_UTIL_DYNAMIC_RANGE_HPP