qualpal 3.3.0
|
Functions for generating color difference matrices. More...
#include <cmath>
#include <qualpal/matrix.h>
#include <qualpal/metrics.h>
#include <qualpal/threads.h>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | qualpal |
Qualitative color palette generation library. | |
Functions | |
template<typename ColorType , typename Metric = metrics::DIN99d> | |
Matrix< double > | qualpal::colorDifferenceMatrix (const std::vector< ColorType > &colors, const Metric &metric=Metric{}, const double max_memory=1) |
Generate a symmetric color difference matrix for a set of colors. | |
Matrix< double > | qualpal::colorDifferenceMatrix (const std::vector< colors::XYZ > &colors, const metrics::MetricType &metric_type, const double max_memory=1) |
Generate a color difference matrix for XYZ colors with runtime metric selection. | |
Functions for generating color difference matrices.
Provides functions to compute pairwise color differences between a set of colors using various perceptual color difference metrics (e.g., DIN99d, CIEDE2000, CIE76). Supports parallel computation (OpenMP) and memory management for large matrices. Used for palette analysis, selection, and color distinguishability evaluation.
Definition in file color_difference.h.