Differential D24680 Diff 68003 plugins/color/lcms2engine/colorprofiles/LcmsColorProfileContainer.cpp
Changeset View
Changeset View
Standalone View
Standalone View
plugins/color/lcms2engine/colorprofiles/LcmsColorProfileContainer.cpp
Context not available. | |||||
170 | double d3dummy [3] = {d->mediaWhitePoint.X, d->mediaWhitePoint.Y, d->mediaWhitePoint.Z}; | 170 | double d3dummy [3] = {d->mediaWhitePoint.X, d->mediaWhitePoint.Y, d->mediaWhitePoint.Z}; | ||
---|---|---|---|---|---|
171 | QGenericMatrix<1, 3, double> whitePointMatrix(d3dummy); | 171 | QGenericMatrix<1, 3, double> whitePointMatrix(d3dummy); | ||
172 | QTransform invertDummy(CAM1[0].X, CAM1[0].Y, CAM1[0].Z, CAM1[1].X, CAM1[1].Y, CAM1[1].Z, CAM1[2].X, CAM1[2].Y, CAM1[2].Z); | 172 | QTransform invertDummy(CAM1[0].X, CAM1[0].Y, CAM1[0].Z, CAM1[1].X, CAM1[1].Y, CAM1[1].Z, CAM1[2].X, CAM1[2].Y, CAM1[2].Z); | ||
173 | //we then abuse QTransform's invert function because it probably does matrix invertion 20 times better than I can program. | 173 | //we then abuse QTransform's invert function because it probably does matrix inversion 20 times better than I can program. | ||
174 | //if the matrix is uninvertable, invertedDummy will be an identity matrix, which for us means that it won't give any noticeble | 174 | //if the matrix is uninvertable, invertedDummy will be an identity matrix, which for us means that it won't give any noticeble | ||
175 | //effect when we start multiplying. | 175 | //effect when we start multiplying. | ||
176 | QTransform invertedDummy = invertDummy.inverted(); | 176 | QTransform invertedDummy = invertDummy.inverted(); | ||
Context not available. |