Moved debayer and preprocessing parameters to class ProcParams for every single image. Added tab RAW for changing those parameters. Progress bar shows only load step (work to do)
75 lines
5.1 KiB
C
75 lines
5.1 KiB
C
/*
|
|
* This file is part of RawTherapee.
|
|
*
|
|
* Copyright (c) 2004-2010 Gabor Horvath <hgabor@rawtherapee.com>
|
|
*
|
|
* RawTherapee is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* RawTherapee is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with RawTherapee. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
#ifndef _ICCMATRICES_
|
|
#define _ICCMATRICES_
|
|
|
|
const double sRGB_d50[3][3] = {{0.435859, 0.222385, 0.0139162},
|
|
{0.385336, 0.717021, 0.0971389},
|
|
{0.143023, 0.0605936, 0.713817}};
|
|
|
|
const double d50_sRGB[3][3] = {{3.13593293538656, -0.978702373022194, 0.0720490013929888},
|
|
{-1.61878246026431, 1.91609508555177, -0.22919049060526},
|
|
{-0.490913888760734, 0.0334453372795315, 1.40593851447263}};
|
|
|
|
/*const double sRGB_d50[3][3] = {{0.4360520246092, 0.2224915978656, 0.0139291219896},
|
|
{0.38508159282, 0.716886060114, 0.09709700166},
|
|
{0.1430874138552, 0.0606214863936, 0.714185469944}};
|
|
|
|
const double d50_sRGB[3][3] = {{3.13405134405167,-0.978762729953942, 0.0719425766617001},
|
|
{-1.61702771153574,1.91614222810656, -0.228971178679309},
|
|
{-0.49065220876631,0.0334496273068589, 1.40521830559074}};*/
|
|
|
|
const double adobe_d50[3][3] = {{0.6097395054954, 0.3111142944042, 0.0194773131652},
|
|
{0.2052518325737, 0.6256618480686, 0.0608872306106},
|
|
{0.1492308013399, 0.0632241329247, 0.744846530711}};
|
|
const double d50_adobe[3][3] = {{1.9624959949628, -0.978762712052774, 0.0286904764959749},
|
|
{-0.610587687828765,1.91614073756734, -0.140667763143042},
|
|
{-0.34136021627766, 0.0334501217627688, 1.34875045144924}};
|
|
const double prophoto_d50[3][3] = {{0.797675, 0.288040, 0.000000},
|
|
{0.135192, 0.711874, 0.000000},
|
|
{0.0313534,0.000086, 0.825210}};
|
|
const double d50_prophoto[3][3] = {{1.34594335079331, -0.544598514291158, 0},
|
|
{-0.255608118122657, 1.50816768465213, 0},
|
|
{-0.0511117387775285, 0.0205345459181255, 1.21181275069376}};
|
|
const double widegamut_d50[3][3] = {{0.716105, 0.258187, 0.000000},
|
|
{0.100930, 0.724938, 0.0517813},
|
|
{0.147186, 0.0168748, 0.773429}};
|
|
const double d50_widegamut[3][3] = {{1.46280597103052, -0.521792197260068, 0.0349341417298585},
|
|
{-0.184062984909417, 1.44723786022891, -0.0968930022172314},
|
|
{-0.27436071519732, 0.0677226440980744,1.28840945122198}};
|
|
const double bruce_d50[3][3] = {{0.4941607255908, 0.2521412970174, 0.0157852934504},
|
|
{0.3204990468435, 0.684494580042, 0.062927176507},
|
|
{0.1495612990809, 0.0633643619597, 0.746498914581}};
|
|
const double d50_bruce[3][3] = {{2.65042308164152, -0.978762745761462, 0.0264609493245811},
|
|
{-1.20155941925411, 1.9161402914007, -0.136115844662896},
|
|
{-0.42902228923717, 0.0334495071197919, 1.34583900936772}};
|
|
const double beta_d50[3][3] = {{0.671254, 0.303273, 0.000000},
|
|
{0.174583, 0.663786, 0.040701},
|
|
{0.118383, 0.0329413, 0.784509}};
|
|
const double d50_beta[3][3] = {{1.68322591962771, -0.771023599950842, 0.0400013658754702},
|
|
{-0.428235060337656, 1.70655704781303, -0.0885376438040078},
|
|
{-0.236018598193503, 0.0446902191738489,1.27236406897742}};
|
|
const double best_d50[3][3] = {{0.632670, 0.228457, 0.000000},
|
|
{0.204556, 0.737352, 0.00951424},
|
|
{0.126995, 0.0341908, 0.815696}};
|
|
const double d50_best[3][3] = {{1.75525923340349, -0.544133953997468, 0.00634675299435191},
|
|
{-0.483679025800866, 1.50687975713407, -0.017576175021718},
|
|
{-0.253000840399762, 0.0215532098817316,1.22569552576991}};
|
|
#endif
|