Well, here is the tool to conversion 12bit CHDK RAW to 10 bit -
http://rapidshare.com/files/187706948/12to10.zip.html
I tried to use DNG4PS2 to obtaing color matrix and cropping settings for
ixus85 (based on RAW/JPEG pair from
igvk):
// pattern
#define cam_CFAPattern 0x02010100 // Red Green Green Blue
// color 0,824186 -0,221391 -0,131676 -0,005513 0,644060 0,039300 0,010558 0,080457 0,221842
#define CAM_COLORMATRIX1 \
824186, 1000000,-221391, 1000000, -131676, 1000000, \
-5513, 1000000, 644060, 1000000, 39300, 1000000, \
10558, 1000000, 80457, 1000000, 221842, 1000000
#define cam_CalibrationIlluminant1 1 // Daylight
// cropping
#define CAM_JPEG_WIDTH 3648
#define CAM_JPEG_HEIGHT 2736
#define CAM_ACTIVE_AREA_X1 6
#define CAM_ACTIVE_AREA_Y1 12
#define CAM_ACTIVE_AREA_X2 3690
#define CAM_ACTIVE_AREA_Y2 2772
Color matrix is not very good for me...