White balance offset (for IR work)

RT’s calculation of temp/tint has no relation on the dcp profiles … only depends on the D65 color correction matrix. Since the sensor responce is terribly different under IR vs D65 the resulted temp/tint are terribly wrong …

This matrix is either hardoded in dcraw (RT’s decoding engine) or defined in camconst.json so to give you freedom regarding temp/tint manipulations I “calculated” (it’s a guess work in fact …) one. Insert the following lines in your camconst.json file. For your experiments leave it as is (well maybe we could calculate a better matrix if we had a cc24 shot under IR …) … add // to comment out the IR matrix and delete the // before the dng matrix for normal work …

{ //   Quality X, experimental infrared support
    "make_model": "Canon PowerShot G9",
  //  "dcraw_matrix": [ 7368,-2141,-598,-5621,13254,2625,-1419,1696,5743 ], // DNG_V8.7 D65
    "dcraw_matrix": [ 15613,-6767,-2468,-1924,5307,221,323,-200,2196 ], // Infrared guessed
    "ranges": { "white": 4080 }
},