qualpal 2.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 color difference matrix. | |
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 Lab colors with runtime metric selection. | |
Functions for generating color difference matrices.
This file provides functions to compute pairwise color differences between a set of colors using various color difference metrics. It supports parallel computation and memory management.
Definition in file color_difference.h.