Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
chromatic_adaptations.h File Reference
#include "Math/Color/color_enums.h"
#include "Math/Color/color_basics.h"
#include "Math/TMatrix3.h"
#include <concepts>
#include "Math/Color/chromatic_adaptations.ipp"

Go to the source code of this file.

Classes

class  ph::math::TChromaticAdaptationDefinition< ALGORITHM, T >
 Sinkhole for undefined chromatic adaptation routines. Specialize the class to provide definitions for the specified adaptation configuration. Must satisfy CChromaticAdaptationDefinition. More...
 

Namespaces

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

Concepts

concept  ph::math::CChromaticAdaptationDefinition
 

Functions

template<EChromaticAdaptation ALGORITHM, typename T >
TTristimulusValues< T > ph::math::chromatic_adapt (const TTristimulusValues< T > &srcCIEXYZColor, EReferenceWhite srcRefWhite, EReferenceWhite dstRefWhite)
 
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)