|
STIRA
0.1
|
experimental class to interpolate CLUTS in ICC color profiles from measured or estimated values More...
#include <ProfileCorrect.h>
Public Member Functions | |
| ProfileCorrect (ProfileData *pInputProfile, int nrGridPoints) | |
| constructor More... | |
| ~ProfileCorrect () | |
| constructor | |
| ProfileData * | InterpolateSamplesToGrid () |
| Interpolates the given list with samples (measured ort modeled) to a regular grid. | |
| bool | FindInList (vector< lut_entry_t > myTable, cmyk_t cmykEntry, lut_entry_t &foundEntry) |
| Finds in a list the entry with given cmyk value. More... | |
| compare_neighbor_entry_t | FindClosestGridPoint (vector< lut_entry_t > myTable, lab_t gridLabValue) |
| Finds in a list the entry with the smallest color difference (delta E 2000) with gridLabValue. More... | |
| vector< compare_neighbor_entry_t > | FindNearestNeighbors (vector< lut_entry_t > dataTable, lut_entry_t myEntry) |
| Finds in a list the entry with given cmyk value. More... | |
experimental class to interpolate CLUTS in ICC color profiles from measured or estimated values
| stira::imagedata::ProfileCorrect::ProfileCorrect | ( | ProfileData * | pInputProfile, |
| int | nrGridPoints | ||
| ) |
constructor
| pInputProfile | input table of CLUT entries to interpolate |
| nrGridPoints | number of |
| compare_neighbor_entry_t stira::imagedata::ProfileCorrect::FindClosestGridPoint | ( | vector< lut_entry_t > | myTable, |
| lab_t | gridLabValue | ||
| ) |
Finds in a list the entry with the smallest color difference (delta E 2000) with gridLabValue.
| myTable | the table to search |
| gridLabValue | the reference L*a*b* color to compare with |
References stira::imagedata::lab_t::a, stira::imagedata::lab_t::b, stira::imagedata::compare_neighbor_entry_t::dE, stira::imagedata::TransformColorSpace::DeltaE2000(), stira::imagedata::compare_neighbor_entry_t::entry, and stira::imagedata::lab_t::l.
| bool stira::imagedata::ProfileCorrect::FindInList | ( | vector< lut_entry_t > | myTable, |
| cmyk_t | cmykEntry, | ||
| lut_entry_t & | foundEntry | ||
| ) |
Finds in a list the entry with given cmyk value.
| myTable | the table to search |
| cmykEntry | the cmyk value to find in the list |
| foundEntry | the found entry as output |
References stira::imagedata::cmyk_t::c, stira::imagedata::cmyk_t::k, stira::imagedata::cmyk_t::m, and stira::imagedata::cmyk_t::y.
| vector< compare_neighbor_entry_t > stira::imagedata::ProfileCorrect::FindNearestNeighbors | ( | vector< lut_entry_t > | dataTable, |
| lut_entry_t | myEntry | ||
| ) |
Finds in a list the entry with given cmyk value.
| dataTable | the table to search |
| myEntry | the entry for which to find its nearest neighbors in the list |
References stira::imagedata::lab_t::a, stira::imagedata::lab_t::b, stira::imagedata::compare_neighbor_entry_t::dE, stira::imagedata::TransformColorSpace::DeltaE2000(), stira::imagedata::compare_neighbor_entry_t::entry, stira::imagedata::lab_t::l, and stira::imagedata::lut_entry_t::lab.
1.8.11