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

The ColorConv class. More...

#include <color_conv.hpp>

Public Member Functions

 ColorConv ()
 ColorConv. More...
 
virtual void direct (float *colIn, float *colOut)
 direct converts from a color space to another one. More...
 
virtual void inverse (float *colIn, float *colOut)
 inverse is the inverse of direct. More...
 
void transform (float *colIn, float *colOut, bool bDirection)
 transform More...
 

Static Public Member Functions

static void apply (const float *mtx, float *colIn, float *colOut)
 apply More...
 
static void apply_s (const float *mtx, float *colIn, float *colOut)
 apply_s a safe apply More...
 

Protected Attributes

bool linear
 
float mtx [9]
 
float mtx_inv [9]
 

Detailed Description

The ColorConv class.

Constructor & Destructor Documentation

◆ ColorConv()

pic::ColorConv::ColorConv ( )
inline

Member Function Documentation

◆ apply()

static void pic::ColorConv::apply ( const float *  mtx,
float *  colIn,
float *  colOut 
)
inlinestatic

apply

Parameters
mtx
colIn
colOut

◆ apply_s()

static void pic::ColorConv::apply_s ( const float *  mtx,
float *  colIn,
float *  colOut 
)
inlinestatic

apply_s a safe apply

Parameters
mtx
colIn
colOut

◆ direct()

virtual void pic::ColorConv::direct ( float *  colIn,
float *  colOut 
)
inlinevirtual

direct converts from a color space to another one.

Parameters
colIna pointer to the input color to be converted.
colOuta pointer to the output color.

◆ inverse()

virtual void pic::ColorConv::inverse ( float *  colIn,
float *  colOut 
)
inlinevirtual

inverse is the inverse of direct.

Parameters
colIna pointer to the input color to be converted.
colOuta pointer to the output color.

◆ transform()

void pic::ColorConv::transform ( float *  colIn,
float *  colOut,
bool  bDirection 
)
inline

transform

Parameters
colIn
colOut
bDirection

Member Data Documentation

◆ linear

bool pic::ColorConv::linear
protected

◆ mtx

float pic::ColorConv::mtx[9]
protected

◆ mtx_inv

float pic::ColorConv::mtx_inv[9]
protected

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