PIMPLed and streamlined ICCStore
(#3691)
This commit is contained in:
@@ -768,7 +768,7 @@ void Thumbnail::init ()
|
||||
cam2xyz[i][j] += xyz_sRGB[i][k] * colorMatrix[k][j];
|
||||
}
|
||||
|
||||
camProfile = iccStore->createFromMatrix (cam2xyz, false, "Camera");
|
||||
camProfile = ICCStore::getInstance()->createFromMatrix (cam2xyz, false, "Camera");
|
||||
}
|
||||
|
||||
Thumbnail::Thumbnail () :
|
||||
@@ -1029,13 +1029,13 @@ IImage8* Thumbnail::processImage (const procparams::ProcParams& params, int rhei
|
||||
bool opautili = false;
|
||||
|
||||
if(params.colorToning.enabled) {
|
||||
TMatrix wprof = iccStore->workingSpaceMatrix (params.icm.working);
|
||||
TMatrix wprof = ICCStore::getInstance()->workingSpaceMatrix (params.icm.working);
|
||||
double wp[3][3] = {
|
||||
{wprof[0][0], wprof[0][1], wprof[0][2]},
|
||||
{wprof[1][0], wprof[1][1], wprof[1][2]},
|
||||
{wprof[2][0], wprof[2][1], wprof[2][2]}
|
||||
};
|
||||
TMatrix wiprof = iccStore->workingSpaceInverseMatrix (params.icm.working);
|
||||
TMatrix wiprof = ICCStore::getInstance()->workingSpaceInverseMatrix (params.icm.working);
|
||||
double wip[3][3] = {
|
||||
{wiprof[0][0], wiprof[0][1], wiprof[0][2]},
|
||||
{wiprof[1][0], wiprof[1][1], wiprof[1][2]},
|
||||
|
Reference in New Issue
Block a user