qualpal 4.0.0
Loading...
Searching...
No Matches
qualpal::ColorspaceRegion Struct Reference

Defines a rectangular region in a cylindrical color space. More...

#include <qualpal.h>

Public Attributes

std::array< double, 2 > h_lim
 Hue range in degrees [-360, 360].
 
std::array< double, 2 > s_or_c_lim
 Saturation/Chroma range.
 
std::array< double, 2 > l_lim
 Lightness range.
 

Detailed Description

Defines a rectangular region in a cylindrical color space.

This struct represents a 3D rectangular subset of a cylindrical color space (HSL or LCHab). Multiple regions can be combined to sample from arbitrary unions of subsets within the same color space. Regions may overlap, which will result in higher sampling density in overlapping areas.

Definition at line 87 of file qualpal.h.

Member Data Documentation

◆ h_lim

std::array<double, 2> qualpal::ColorspaceRegion::h_lim

Hue range in degrees [-360, 360].

Definition at line 89 of file qualpal.h.

◆ l_lim

std::array<double, 2> qualpal::ColorspaceRegion::l_lim

Lightness range.

Definition at line 91 of file qualpal.h.

◆ s_or_c_lim

std::array<double, 2> qualpal::ColorspaceRegion::s_or_c_lim

Saturation/Chroma range.

Definition at line 90 of file qualpal.h.


The documentation for this struct was generated from the following file: