12#include <peak_common_c/detail/peak_common_defines.h>
14#include <peak_icv_c/algorithms/preprocessing/peak_icv_color_matrix_transformation.h>
32 Legacy = PEAK_ICV_CHROMATIC_ADAPTION_ALGORITHM_LEGACY,
35 Bradford = PEAK_ICV_CHROMATIC_ADAPTION_ALGORITHM_BRADFORD
51 const auto algStr = std::to_string(
static_cast<int>(algorithm));
64 if (algorithm ==
"Legacy")
68 if (algorithm ==
"Bradford")
Occurs when a requested operation is not implemented or supported (e.g., exporting to an unsupported ...
ChromaticAdaptionAlgorithm
Algorithm used for chromatic adaption.
@ Legacy
Legacy adaption algorithm.
@ Bradford
Bradford adaption algorithm (Default).
ChromaticAdaptionAlgorithm ToChromaticAdaptionAlgorithm(const std::string &algorithm)
std::string ToString(BinningMode mode)
Converts a BinningMode enum value to its string representation.
std::ostream & operator<<(std::ostream &os, BinningMode mode)
Stream output operator for BinningMode enum.