lsst.cpputils g87389fa792+d8b5378923
Loading...
Searching...
No Matches
_oklabTools.h File Reference
#include <math.h>
#include <cmath>
#include <float.h>

Go to the source code of this file.

Classes

struct  lsst::cpputils::details::Lab
 
struct  lsst::cpputils::details::RGB
 
struct  lsst::cpputils::details::LC
 

Namespaces

namespace  lsst
 
namespace  lsst::cpputils
 
namespace  lsst::cpputils::details
 

Functions

Lab lsst::cpputils::details::linear_srgb_to_oklab (RGB c)
 
Lab lsst::cpputils::details::linear_displayP3_to_oklab (RGB c)
 
RGB lsst::cpputils::details::oklab_to_linear_srgb (Lab c)
 
RGB lsst::cpputils::details::oklab_to_linear_displayP3 (Lab c)
 
float lsst::cpputils::details::compute_max_saturation (float a, float b)
 
LC lsst::cpputils::details::find_cusp (float a, float b)
 
float lsst::cpputils::details::find_gamut_intersection (float a, float b, float L1, float C1, float L0)
 
float lsst::cpputils::details::clamp (float x, float min, float max)
 
float lsst::cpputils::details::sgn (float x)
 
RGB lsst::cpputils::details::gamut_clip_preserve_chroma (RGB rgb)
 
RGB lsst::cpputils::details::gamut_clip_project_to_0_5 (RGB rgb)
 
RGB lsst::cpputils::details::gamut_clip_project_to_L_cusp (RGB rgb)
 
RGB lsst::cpputils::details::gamut_clip_adaptive_L0_0_5 (RGB rgb, float alpha=0.05f)
 
RGB lsst::cpputils::details::gamut_clip_adaptive_L0_L_cusp (RGB rgb, float alpha=0.05f)