Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
chromatic_adaptations.ipp File Reference
#include "Math/Color/chromatic_adaptations.h"
#include "Utility/IUninstantiable.h"
#include <Common/assertion.h>

Go to the source code of this file.

Classes

class  ph::math::TChromaticAdaptationDefinitionHelper< ALGORITHM >
 
class  ph::math::TChromaticAdaptationDefinition< EChromaticAdaptation::XYZScaling, T >
 Adapts by simply scale by the corresponding white points–identity CAT matrices are used. More...
 
class  ph::math::TChromaticAdaptationDefinition< EChromaticAdaptation::Bradford, T >
 
class  ph::math::TChromaticAdaptationDefinition< EChromaticAdaptation::VonKries, T >
 

Namespaces

namespace  ph
 The root for all renderer implementations.
 
namespace  ph::math
 Math functions and utilities.
 

Functions

template<typename T >
TMatrix3< T > ph::math::create_von_kries_linear_CAT_matrix (const TMatrix3< T > &CIEXYZToConeResponse, const TMatrix3< T > &ConeResponseToCIEXYZ, const EReferenceWhite srcRefWhite, const EReferenceWhite dstRefWhite)
 
template<typename T >
TMatrix3< T > ph::math::create_von_kries_linear_CAT_matrix (const TMatrix3< T > &CIEXYZToConeResponse, const TMatrix3< T > &ConeResponseToCIEXYZ, const TTristimulusValues< T > &srcRefWhite, const TTristimulusValues< T > &dstRefWhite)
 
template<EChromaticAdaptation ALGORITHM, typename T >
TTristimulusValues< T > ph::math::chromatic_adapt (const TTristimulusValues< T > &srcCIEXYZColor, EReferenceWhite srcRefWhite, EReferenceWhite dstRefWhite)