class to manage data in a color profile Basically consists of a color LookUp Table (CLUT) between a device space (A) and an independant space (B) This independant space is usually L*a*b*. In a profile, we usually have two tables: in A2B, the values in the A space are on a regular grid and the corresponding B values usually aren't; in the B2A, the values in the B space are on a regular grid and the corresponding A values usually aren't
More...
#include <ProfileData.h>
class to manage data in a color profile Basically consists of a color LookUp Table (CLUT) between a device space (A) and an independant space (B) This independant space is usually L*a*b*. In a profile, we usually have two tables: in A2B, the values in the A space are on a regular grid and the corresponding B values usually aren't; in the B2A, the values in the B space are on a regular grid and the corresponding A values usually aren't
void stira::imagedata::ProfileData::AddA2BEntry |
( |
lut_entry_t |
entry | ) |
|
void stira::imagedata::ProfileData::AddB2AEntry |
( |
lut_entry_t |
entry | ) |
|
adds entry to the B2A CLUT
- Parameters
-
entry | new entry to append at end of CLUT |
References B2A.
lut_entry_t stira::imagedata::ProfileData::GetA2BEntry |
( |
int |
k | ) |
|
gets entry number k from the A2B CLUT
- Parameters
-
k | number of entry to retrieve |
References A2B.
cmyk_t stira::imagedata::ProfileData::GetA2BEntryCmyk |
( |
int |
k | ) |
|
gets the CMYK component from entry number k from the A2B CLUT
- Parameters
-
k | number of entry of which we wish to retrieve the CMYK values |
References A2B.
lab_t stira::imagedata::ProfileData::GetA2BEntryLab |
( |
int |
k | ) |
|
gets the L*a*b* component from entry number k from the A2B CLUT
- Parameters
-
k | number of entry of which we wish to retrieve the L*a*b* values |
References A2B.
lut_entry_t stira::imagedata::ProfileData::GetB2AEntry |
( |
int |
k | ) |
|
gets entry number k from the B2A CLUT
- Parameters
-
k | number of entry to retrieve |
References B2A.
cmyk_t stira::imagedata::ProfileData::GetB2AEntryCmyk |
( |
int |
k | ) |
|
gets the CMYK component from entry number k from the B2A CLUT
- Parameters
-
k | number of entry of which we wish to retrieve the CMYK values |
References B2A.
lab_t stira::imagedata::ProfileData::GetB2AEntryLab |
( |
int |
k | ) |
|
gets the L*a*b* component from entry number k from the A2B CLUT
- Parameters
-
k | number of entry of which we wish to retrieve the L*a*b* values |
References B2A.
void stira::imagedata::ProfileData::SetA2BEntryCmyk |
( |
int |
k, |
|
|
cmyk_t |
cmyk |
|
) |
| |
replaces the CMYK values in A2B entry k by the new CMYK values
- Parameters
-
k | number of entry to modify |
cmyk | new CMYK values |
References A2B.
void stira::imagedata::ProfileData::SetA2BEntryLab |
( |
int |
k, |
|
|
lab_t |
lab |
|
) |
| |
replaces the L*a*b* values in A2B entry k by the new L*a*b* values
- Parameters
-
k | number of entry to modify |
lab | new L*a*b* values |
References A2B.
void stira::imagedata::ProfileData::SetB2AEntryCmyk |
( |
int |
k, |
|
|
cmyk_t |
cmyk |
|
) |
| |
replaces the CMYK values in B2A entry k by the new CMYK values
- Parameters
-
k | number of entry to modify |
cmyk | new CMYK values |
References B2A.
void stira::imagedata::ProfileData::SetB2AEntryLab |
( |
int |
k, |
|
|
lab_t |
lab |
|
) |
| |
replaces the L*a*b* values in B2A entry k by the new L*a*b* values
- Parameters
-
k | number of entry to modify |
lab | new L*a*b* values |
References B2A.
The documentation for this class was generated from the following files:
- imagedata/color/ProfileData.h
- imagedata/color/ProfileData.cpp