qualpal 3.3.0
|
Utilities for analyzing color palettes, including color difference matrices and color vision deficiency (CVD) simulation. More...
#include <map>
#include <optional>
#include <qualpal/color_difference.h>
#include <qualpal/colors.h>
#include <qualpal/matrix.h>
#include <qualpal/metrics.h>
Go to the source code of this file.
Classes | |
struct | qualpal::PaletteAnalysis |
Holds analysis results for a color palette under a specific vision condition. More... | |
Namespaces | |
namespace | qualpal |
Qualitative color palette generation library. | |
Typedefs | |
using | qualpal::PaletteAnalysisMap = std::map< std::string, PaletteAnalysis > |
Map from vision deficiency type to palette analysis results. | |
Functions | |
PaletteAnalysisMap | qualpal::analyzePalette (const std::vector< colors::RGB > &colors, const metrics::MetricType &metric=metrics::MetricType::CIEDE2000, const std::map< std::string, double > &cvd={ { "deutan", 1.0 }, { "protan", 1.0 }, { "tritan", 1.0 } }, const std::optional< colors::RGB > &bg=std::nullopt, double max_memory=1.0) |
Analyze a color palette for normal and simulated color vision deficiencies (CVD). | |
Utilities for analyzing color palettes, including color difference matrices and color vision deficiency (CVD) simulation.
Provides data structures and functions to analyze color palettes for distinguishability, supporting multiple color difference metrics and simulation of common color vision deficiencies (protan, deutan, tritan). Enables quantitative assessment of palette quality under normal and simulated vision conditions.
Definition in file analyze.h.