dcraw: do not use CameraCalibration matrices when loading DNG files
This is to make sure that DNG-converted and original raw files are processed in the same way Fixes #4129
This commit is contained in:
parent
d84a3fd40a
commit
1fdc2d7b49
@ -6244,6 +6244,16 @@ guess_cfa_pc:
|
||||
free (buf);
|
||||
}
|
||||
|
||||
/* RT -- do not use CameraCalibration matrices for DNGs - see #4129 */
|
||||
for (j=0; j < 4; j++) {
|
||||
ab[j] = 1;
|
||||
for (i=0; i < 4; i++) {
|
||||
cc[0][j][i] = i == j;
|
||||
cc[1][j][i] = i == j;
|
||||
}
|
||||
}
|
||||
/* RT end */
|
||||
|
||||
for (i=0; i < colors; i++)
|
||||
FORCC cc[cm_D65][i][c] *= ab[i];
|
||||
if (use_cm) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user