|
Krita Source Code Documentation
|
#include <QPointF>#include <QVector>#include <KoColorimetryUtils.h>#include <KoColorProfile.h>#include "kritapigment_export.h"Go to the source code of this file.
Classes | |
| struct | KoGamutMappingUtils::PiecewiseFilmicCurve |
| The piecewiseFilmicCurve class Implement's Hable's piecewise filmic curve. https://filmicworlds.com/blog/filmic-tonemapping-with-piecewise-power-curves/ License: CC-0. More... | |
| struct | KoGamutMappingUtils::PiecewiseFilmicCurve::Segment |
Namespaces | |
| namespace | KoGamutMappingUtils |
Enumerations | |
| enum | KoGamutMappingUtils::CurveType { KoGamutMappingUtils::Reinhard , KoGamutMappingUtils::PiecewiseFilmic } |
| enum | KoGamutMappingUtils::MappingModel { KoGamutMappingUtils::LAB , KoGamutMappingUtils::ICtCp , KoGamutMappingUtils::OkLAB } |
| The MappingModel enum This represents the preferred model to do gamut and/or tone mapping in. More... | |
Functions | |
| QPointF KRITAPIGMENT_EXPORT | KoGamutMappingUtils::cuspForHue (const QMap< float, QPointF > &gamutCuspDescription, const float hue) |
| float KRITAPIGMENT_EXPORT | KoGamutMappingUtils::deltaE76 (const QVector< float > &a, const QVector< float > &b) |
| deltaE76 calculates the difference between two colors, represented as normalized channels. | |
| QMap< float, QPointF > KRITAPIGMENT_EXPORT | KoGamutMappingUtils::getGamutCuspDescription (const KoColorProfile *profile, KoGamutMappingUtils::MappingModel model, const int samplesPerChannel=5) |
| getGamutCuspDescription Generates a hexagonal gamut cusp description from a RGB or CMYK profile. | |
| QVector4D KRITAPIGMENT_EXPORT | KoGamutMappingUtils::ICtCpToXYZ (const QVector4D &iCtCp) |
| QVector4D KRITAPIGMENT_EXPORT | KoGamutMappingUtils::OkLabToXYZ (const QVector4D &okLab) |
| float KRITAPIGMENT_EXPORT | KoGamutMappingUtils::reinhardToneMapping (const float linearY, const float maxY) |
| reinhardToneMapping Implements 'extended' reinhard tonemapping. | |
| QVector4D KRITAPIGMENT_EXPORT | KoGamutMappingUtils::XYZToICtCp (const QVector4D &xyz) |
| XYZToICtCp Ad-hoc implementation of ICtCp for use in filters. Unlike the official YCbCr-compatible standard, this one doesn't have a 0.5 offset in the Ct and Cp channels. | |
| QVector4D KRITAPIGMENT_EXPORT | KoGamutMappingUtils::XYZToOkLab (const QVector4D &xyz) |
| XYZToOkLab Ad-hoc implementation of OkLAB. This takes a QVector4D and transforms it to the OkLAB model. | |