{"action":"created","issue":{"url":"https://api.github.com/repos/neothemachine/rawpy/issues/11","repository_url":"https://api.github.com/repos/neothemachine/rawpy","labels_url":"https://api.github.com/repos/neothemachine/rawpy/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/neothemachine/rawpy/issues/11/comments","events_url":"https://api.github.com/repos/neothemachine/rawpy/issues/11/events","html_url":"https://github.com/neothemachine/rawpy/issues/11","id":133038831,"number":11,"title":"Implementing Demosaicing Algorithm","user":{"login":"tanken","id":5720586,"avatar_url":"https://avatars.githubusercontent.com/u/5720586?v=3","gravatar_id":"","url":"https://api.github.com/users/tanken","html_url":"https://github.com/tanken","followers_url":"https://api.github.com/users/tanken/followers","following_url":"https://api.github.com/users/tanken/following{/other_user}","gists_url":"https://api.github.com/users/tanken/gists{/gist_id}","starred_url":"https://api.github.com/users/tanken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanken/subscriptions","organizations_url":"https://api.github.com/users/tanken/orgs","repos_url":"https://api.github.com/users/tanken/repos","events_url":"https://api.github.com/users/tanken/events{/privacy}","received_events_url":"https://api.github.com/users/tanken/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-11T17:43:33Z","updated_at":"2016-02-11T17:56:38Z","closed_at":null,"body":"Hi there,\r\n\r\nI would like to check on the proper implementation for the demosaicing algorithms.\r\n\r\n```\r\n...\r\nfrom rawpy import DemosaicAlgorithm\r\n\r\nraw = rp.imread('''.\\input/raw/1test.dng''')\r\n\r\nrgb = raw.postprocess(no_auto_bright=True, user_wb=raw.daylight_whitebalance, demosaic_algorithm=DemosaicAlgorithm.AAHD, output_color=ColorSpace.sRGB)\r\nrgb = raw.postprocess(no_auto_bright=True, user_wb=raw.daylight_whitebalance, demosaic_algorithm=DemosaicAlgorithm.VNG, output_color=ColorSpace.sRGB)\r\n\r\n(r, g, b) = cv2.split(rgb)\r\ncv2.imwrite('''.\\input/raw/1test_new7.jpg''', cv2.merge([b,g,r]))\r\n```\r\n\r\nRegardless of the type of demosaic algorithm, the results produced were all the same, and some mosaic patterns still visible. Also, some other type, VCD, LMMSE options are not available. \r\n\r\nExpected\r\n<a href='http://postimg.org/image/8pv3f14tz/' target='_blank'><img src='http://s15.postimg.org/8pv3f14tz/1test.jpg' border='0' alt=\"1test\" /></a>\r\nCurrent results\r\n<a href='http://postimg.org/image/6f1b48omf/' target='_blank'><img src='http://s7.postimg.org/6f1b48omf/1test_new7.jpg' border='0' alt=\"1test new7\" /></a>\r\nMosaic\r\n<a href='http://postimg.org/image/jjq13mlyv/' target='_blank'><img src='http://s15.postimg.org/jjq13mlyv/Capture.jpg' border='0' alt=\"Capture\" /></a>\r\n\r\nAppreciate if anyone cld guide me to the proper implementation of going from current to expected? :)) "},"comment":{"url":"https://api.github.com/repos/neothemachine/rawpy/issues/comments/182979330","html_url":"https://github.com/neothemachine/rawpy/issues/11#issuecomment-182979330","issue_url":"https://api.github.com/repos/neothemachine/rawpy/issues/11","id":182979330,"user":{"login":"neothemachine","id":530988,"avatar_url":"https://avatars.githubusercontent.com/u/530988?v=3","gravatar_id":"","url":"https://api.github.com/users/neothemachine","html_url":"https://github.com/neothemachine","followers_url":"https://api.github.com/users/neothemachine/followers","following_url":"https://api.github.com/users/neothemachine/following{/other_user}","gists_url":"https://api.github.com/users/neothemachine/gists{/gist_id}","starred_url":"https://api.github.com/users/neothemachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neothemachine/subscriptions","organizations_url":"https://api.github.com/users/neothemachine/orgs","repos_url":"https://api.github.com/users/neothemachine/repos","events_url":"https://api.github.com/users/neothemachine/events{/privacy}","received_events_url":"https://api.github.com/users/neothemachine/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T17:56:38Z","updated_at":"2016-02-11T17:56:38Z","body":"Which operation system are you using? Also, can you check the libraw version with `print(rawpy.libraw_version)`?\r\nWhat do you exactly mean with \"VCD, LMMSE options are not available.\"? Do you get an error?"}}