{"action":"created","issue":{"url":"https://api.github.com/repos/LibRaw/LibRaw/issues/52","labels_url":"https://api.github.com/repos/LibRaw/LibRaw/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/LibRaw/LibRaw/issues/52/comments","events_url":"https://api.github.com/repos/LibRaw/LibRaw/issues/52/events","html_url":"https://github.com/LibRaw/LibRaw/issues/52","id":107417881,"number":52,"title":"Large camera matrix differences between 0.16 and 0.17 for Canon 6D","user":{"login":"CarVac","id":4342361,"avatar_url":"https://avatars.githubusercontent.com/u/4342361?v=3","gravatar_id":"","url":"https://api.github.com/users/CarVac","html_url":"https://github.com/CarVac","followers_url":"https://api.github.com/users/CarVac/followers","following_url":"https://api.github.com/users/CarVac/following{/other_user}","gists_url":"https://api.github.com/users/CarVac/gists{/gist_id}","starred_url":"https://api.github.com/users/CarVac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarVac/subscriptions","organizations_url":"https://api.github.com/users/CarVac/orgs","repos_url":"https://api.github.com/users/CarVac/repos","events_url":"https://api.github.com/users/CarVac/events{/privacy}","received_events_url":"https://api.github.com/users/CarVac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-20T21:09:04Z","updated_at":"2015-09-21T07:40:36Z","closed_at":null,"body":"The camera matrix in dcraw_common.cpp has changed for the Canon 6D and it's throwing off the white balance.\r\n\r\nIt used to be:\r\n\r\n    { 7034,-804,-1014,-4420,12564,2058,-851,1994,5758 }\r\n\r\nNow it is:\r\n\r\n    { 8621,-2197,-787,-3150,11358,912,-1161,2400,4836 }\r\n\r\nAny reason for this?\r\n\r\nIt seems that at the time of this commit, https://github.com/LibRaw/LibRaw/commit/127bffbed132047ccc60330f8434fd6ee41fcd33, dcraw had for the 6D matrix\r\n\r\n    { 8624,-2197,-788,-3150,11361,912,-1161,2401,4838 }\r\n\r\nThen, this commit changed it to its current value: https://github.com/LibRaw/LibRaw/commit/004ac611315614966d912a0d9c0aa02ceec80986.\r\n\r\nIn my use of LibRaw, I'm currently using the reference (daylight?) multipliers (pre_mul) to normalize the camera's white balance multipliers used for that photo (cam_mul) in order to determine the Kelvin temperature and tint values, but they're waaaay off with the new matrix.\r\n\r\nThe latest dcraw.c file from the source is back to the older matrix."},"comment":{"url":"https://api.github.com/repos/LibRaw/LibRaw/issues/comments/141899310","html_url":"https://github.com/LibRaw/LibRaw/issues/52#issuecomment-141899310","issue_url":"https://api.github.com/repos/LibRaw/LibRaw/issues/52","id":141899310,"user":{"login":"LibRaw","id":435672,"avatar_url":"https://avatars.githubusercontent.com/u/435672?v=3","gravatar_id":"","url":"https://api.github.com/users/LibRaw","html_url":"https://github.com/LibRaw","followers_url":"https://api.github.com/users/LibRaw/followers","following_url":"https://api.github.com/users/LibRaw/following{/other_user}","gists_url":"https://api.github.com/users/LibRaw/gists{/gist_id}","starred_url":"https://api.github.com/users/LibRaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LibRaw/subscriptions","organizations_url":"https://api.github.com/users/LibRaw/orgs","repos_url":"https://api.github.com/users/LibRaw/repos","events_url":"https://api.github.com/users/LibRaw/events{/privacy}","received_events_url":"https://api.github.com/users/LibRaw/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T07:40:36Z","updated_at":"2015-09-21T07:40:36Z","body":"The '7034' profile is from dcraw.c profile, grabbed from Adobe DNG convertor.\r\nThis profile is not very good, especially in reds, so we replaced it with our color profile with much better color handling.\r\n\r\nIf you need to compute Color Temperature/Tint compatible with Adobe products you need to use exactly same color matrix for it, just grab it from DNG converted files."}}