Camera manufacturer profile calibration tag

Started by Danne, October 03, 2016, 05:17:39 AM

Previous topic - Next topic

Danne

Hi!
I,m trying to obtain a correct temp/tint conversion going from a canon CR2 raw image turned into a dng file. This is fairly easy by calculating the multipliers to put in the AsShotNeutral tag. For instance grabbing this information from a CR2 with exiftool and then insert the calulated multipliers into a dng file.

WB RGGB Levels As Shot          : 1739 1024 1024 1931
1024/1739=0,588844163312248
1024/1931=0,528107271789582
exiftool "-AsShotNeutral=0,588844163312248 1 0,528107271789582" my.dng


Now there is the CameraCalibration1 and 2  which has to be added into the dng file as well for that final exact matching calibration. These calibration numbers are coming from the camera facturer and I assume they are stored into the CR2 file to begin with. Going through CR2 spec http://lclevy.free.fr/cr2/ I am trying to see if I could fetch the CameraCalibration info already from the CR2 file instead of having to go through adobe dng converter processing first but I cannot find this information. Is it possible to fetch the number directly from the CR2 with exiftool or do you know the reason why it can,t be done otherwise? Tried with exiftool -U which reveals a lot of info but not the camera calibration numbers.

Regards
/D

Phil Harvey

Hi Danne,

I think that Laurent is a better person to ask about this.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Danne

Aight. If I get anything useful I,ll post about it here.
Thanks