12template<
typename DefType,
typename T>
18 { DefType::getAlgorithm() }
noexcept -> std::same_as<EChromaticAdaptation>;
19 { DefType::adapt(CIEXYZColor, srcRefWhite, dstRefWhite) } -> std::same_as<TTristimulusValues<T>>;
26template<EChromaticAdaptation ALGORITHM,
typename T>
31 "No definition for the specified chromatic adaptation ALGORITHM.");
34template<EChromaticAdaptation ALGORITHM,
typename T>
Sinkhole for undefined chromatic adaptation routines. Specialize the class to provide definitions for...
Definition chromatic_adaptations.h:28
Represents a 3x3 matrix.
Definition TMatrix3.h:16
Definition chromatic_adaptations.h:13
Math functions and utilities.
Definition TransformInfo.h:10
TTristimulusValues< T > chromatic_adapt(const TTristimulusValues< T > &srcCIEXYZColor, EReferenceWhite srcRefWhite, EReferenceWhite dstRefWhite)
Definition chromatic_adaptations.ipp:195
TMatrix3< T > create_von_kries_linear_CAT_matrix(const TMatrix3< T > &CIEXYZToConeResponse, const TMatrix3< T > &ConeResponseToCIEXYZ, const EReferenceWhite srcRefWhite, const EReferenceWhite dstRefWhite)
Definition chromatic_adaptations.ipp:30
TRawColorValues< T, 3 > TTristimulusValues
Definition color_basics.h:48
EReferenceWhite
Definition color_enums.h:49