{"action":"closed","issue":{"url":"https://api.github.com/repos/colour-science/colour/issues/399","repository_url":"https://api.github.com/repos/colour-science/colour","labels_url":"https://api.github.com/repos/colour-science/colour/issues/399/labels{/name}","comments_url":"https://api.github.com/repos/colour-science/colour/issues/399/comments","events_url":"https://api.github.com/repos/colour-science/colour/issues/399/events","html_url":"https://github.com/colour-science/colour/issues/399","id":314385340,"number":399,"title":"Change \"DCI-P3\" colourspace CCTFs to \"Gamma 2.6\" and implement support for \"DCDM XYZ\" colourspace.","user":{"login":"codycuellar","id":30381480,"avatar_url":"https://avatars3.githubusercontent.com/u/30381480?v=4","gravatar_id":"","url":"https://api.github.com/users/codycuellar","html_url":"https://github.com/codycuellar","followers_url":"https://api.github.com/users/codycuellar/followers","following_url":"https://api.github.com/users/codycuellar/following{/other_user}","gists_url":"https://api.github.com/users/codycuellar/gists{/gist_id}","starred_url":"https://api.github.com/users/codycuellar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codycuellar/subscriptions","organizations_url":"https://api.github.com/users/codycuellar/orgs","repos_url":"https://api.github.com/users/codycuellar/repos","events_url":"https://api.github.com/users/codycuellar/events{/privacy}","received_events_url":"https://api.github.com/users/codycuellar/received_events","type":"User","site_admin":false},"labels":[{"id":82251453,"url":"https://api.github.com/repos/colour-science/colour/labels/API","name":"API","color":"ededed","default":false},{"id":82249254,"url":"https://api.github.com/repos/colour-science/colour/labels/Enhancement","name":"Enhancement","color":"0b61a4","default":false},{"id":121770603,"url":"https://api.github.com/repos/colour-science/colour/labels/P2","name":"P2","color":"fad8c7","default":false}],"state":"closed","locked":false,"assignee":{"login":"KelSolaar","id":99779,"avatar_url":"https://avatars1.githubusercontent.com/u/99779?v=4","gravatar_id":"","url":"https://api.github.com/users/KelSolaar","html_url":"https://github.com/KelSolaar","followers_url":"https://api.github.com/users/KelSolaar/followers","following_url":"https://api.github.com/users/KelSolaar/following{/other_user}","gists_url":"https://api.github.com/users/KelSolaar/gists{/gist_id}","starred_url":"https://api.github.com/users/KelSolaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KelSolaar/subscriptions","organizations_url":"https://api.github.com/users/KelSolaar/orgs","repos_url":"https://api.github.com/users/KelSolaar/repos","events_url":"https://api.github.com/users/KelSolaar/events{/privacy}","received_events_url":"https://api.github.com/users/KelSolaar/received_events","type":"User","site_admin":false},"assignees":[{"login":"KelSolaar","id":99779,"avatar_url":"https://avatars1.githubusercontent.com/u/99779?v=4","gravatar_id":"","url":"https://api.github.com/users/KelSolaar","html_url":"https://github.com/KelSolaar","followers_url":"https://api.github.com/users/KelSolaar/followers","following_url":"https://api.github.com/users/KelSolaar/following{/other_user}","gists_url":"https://api.github.com/users/KelSolaar/gists{/gist_id}","starred_url":"https://api.github.com/users/KelSolaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KelSolaar/subscriptions","organizations_url":"https://api.github.com/users/KelSolaar/orgs","repos_url":"https://api.github.com/users/KelSolaar/repos","events_url":"https://api.github.com/users/KelSolaar/events{/privacy}","received_events_url":"https://api.github.com/users/KelSolaar/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/colour-science/colour/milestones/16","html_url":"https://github.com/colour-science/colour/milestone/16","labels_url":"https://api.github.com/repos/colour-science/colour/milestones/16/labels","id":2976324,"number":16,"title":"v0.3.12","description":"Colour v0.3.12 - Alpha Milestone.","creator":{"login":"KelSolaar","id":99779,"avatar_url":"https://avatars1.githubusercontent.com/u/99779?v=4","gravatar_id":"","url":"https://api.github.com/users/KelSolaar","html_url":"https://github.com/KelSolaar","followers_url":"https://api.github.com/users/KelSolaar/followers","following_url":"https://api.github.com/users/KelSolaar/following{/other_user}","gists_url":"https://api.github.com/users/KelSolaar/gists{/gist_id}","starred_url":"https://api.github.com/users/KelSolaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KelSolaar/subscriptions","organizations_url":"https://api.github.com/users/KelSolaar/orgs","repos_url":"https://api.github.com/users/KelSolaar/repos","events_url":"https://api.github.com/users/KelSolaar/events{/privacy}","received_events_url":"https://api.github.com/users/KelSolaar/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":12,"state":"open","created_at":"2017-12-13T08:42:32Z","updated_at":"2018-04-15T10:42:19Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-04-15T04:44:13Z","updated_at":"2018-04-15T10:42:19Z","closed_at":"2018-04-15T10:42:19Z","author_association":"NONE","body":"The current P3-DCI colourspace utilizes the CCTFs that are actually defined for DCDM X'Y'Z'. The P3-DCI RGB colourspace is defined as having RGB encoding/decoding functions of gamma 2.6. The current EOTF and OETF should be moved and renamed to a different module (possibly DCDM_XYZ), and the P3-DCI colourspace should implement gamma 2.6.\r\n\r\nHere's an example of usage that would make a little more sense (using a proposed DCDM_XYZ colourspace):\r\n\r\n```python\r\n>>> RGB = [.5, .5, .5]\r\n>>> wp = P3.whitepoint\r\n>>> XYZ_trisitim = colour.RGB_to_XYZ(RGB, wp, wp, P3.RGB_to_XYZ_matrix,\r\n... decoding_cctf=P3.decoding_cctf)\r\n>>> XYZ_tristim = XYZ_tristim * 48\r\n>>> XYZ_tristim\r\narray([ 7.08248691,  7.91704746,  7.55615641])\r\n>>> XYZ_prime = DCDM_XYZ.encoding_cctf(XYZ_tristim)\r\n>>> (XYZ_prime * 4095).round()\r\narray([ 1897.,  1980.,  1945.])\r\n```\r\n\r\nThe proposed DCDM_XYZ colourspace would have primaries [[1, 0], [0, 1], [0, 0]], whitepoint [1/3, 1/3], and CCTFs which are currently in the P3-DCI transfer functions. It would probably make more sense if those CCTFs returned normalized floats as well as demonstrated in the proposed code usage above."}}
{"actor":{"display_login":"KelSolaar"}}