{"action":"closed","issue":{"url":"https://api.github.com/repos/cpvrlab/ImagePlay/issues/10","labels_url":"https://api.github.com/repos/cpvrlab/ImagePlay/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/cpvrlab/ImagePlay/issues/10/comments","events_url":"https://api.github.com/repos/cpvrlab/ImagePlay/issues/10/events","html_url":"https://github.com/cpvrlab/ImagePlay/issues/10","id":64270165,"number":10,"title":"Local threshold behaves fundamentally differently depending on the window size (odd vs. even)","user":{"login":"mfrischknecht","id":7261570,"avatar_url":"https://avatars.githubusercontent.com/u/7261570?v=3","gravatar_id":"","url":"https://api.github.com/users/mfrischknecht","html_url":"https://github.com/mfrischknecht","followers_url":"https://api.github.com/users/mfrischknecht/followers","following_url":"https://api.github.com/users/mfrischknecht/following{/other_user}","gists_url":"https://api.github.com/users/mfrischknecht/gists{/gist_id}","starred_url":"https://api.github.com/users/mfrischknecht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfrischknecht/subscriptions","organizations_url":"https://api.github.com/users/mfrischknecht/orgs","repos_url":"https://api.github.com/users/mfrischknecht/repos","events_url":"https://api.github.com/users/mfrischknecht/events{/privacy}","received_events_url":"https://api.github.com/users/mfrischknecht/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cpvrlab/ImagePlay/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"schmk2","id":11331299,"avatar_url":"https://avatars.githubusercontent.com/u/11331299?v=3","gravatar_id":"","url":"https://api.github.com/users/schmk2","html_url":"https://github.com/schmk2","followers_url":"https://api.github.com/users/schmk2/followers","following_url":"https://api.github.com/users/schmk2/following{/other_user}","gists_url":"https://api.github.com/users/schmk2/gists{/gist_id}","starred_url":"https://api.github.com/users/schmk2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmk2/subscriptions","organizations_url":"https://api.github.com/users/schmk2/orgs","repos_url":"https://api.github.com/users/schmk2/repos","events_url":"https://api.github.com/users/schmk2/events{/privacy}","received_events_url":"https://api.github.com/users/schmk2/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/cpvrlab/ImagePlay/milestones/1","html_url":"https://github.com/cpvrlab/ImagePlay/milestones/6.0.0-beta.2","labels_url":"https://api.github.com/repos/cpvrlab/ImagePlay/milestones/1/labels","id":1016267,"number":1,"title":"6.0.0-beta.2","description":"","creator":{"login":"l00mi","id":502518,"avatar_url":"https://avatars.githubusercontent.com/u/502518?v=3","gravatar_id":"","url":"https://api.github.com/users/l00mi","html_url":"https://github.com/l00mi","followers_url":"https://api.github.com/users/l00mi/followers","following_url":"https://api.github.com/users/l00mi/following{/other_user}","gists_url":"https://api.github.com/users/l00mi/gists{/gist_id}","starred_url":"https://api.github.com/users/l00mi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l00mi/subscriptions","organizations_url":"https://api.github.com/users/l00mi/orgs","repos_url":"https://api.github.com/users/l00mi/repos","events_url":"https://api.github.com/users/l00mi/events{/privacy}","received_events_url":"https://api.github.com/users/l00mi/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":6,"state":"open","created_at":"2015-03-11T11:58:14Z","updated_at":"2015-03-30T14:17:58Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-03-25T13:36:58Z","updated_at":"2015-03-30T14:17:58Z","closed_at":"2015-03-30T14:17:58Z","body":"How to reproduce:\r\n\r\n- Add a \"Load Image\" element\r\n- Connect it to a \"Local Threshold\" element\r\n- Alter the window size (see attached Screenshots).\r\n\r\nThe error seems to be in IPLLocalThreshold.cpp:55ff:\r\n\r\n- For the application of the local kernel, a half-width is calculated through an integer division.\r\n- The area value used to normalize the local mean is calculated using the original width (without the information loss through the division) in double precision.\r\n\r\n![bildschirmfoto von 2015-03-25 14 30 15](https://cloud.githubusercontent.com/assets/7261570/6825556/aee65c54-d2fb-11e4-9ee2-e263b3de0400.png)\r\n![bildschirmfoto von 2015-03-25 14 30 32](https://cloud.githubusercontent.com/assets/7261570/6825557/b00e3dea-d2fb-11e4-93fb-c700fc5030f6.png)\r\n![bildschirmfoto von 2015-03-25 14 30 47](https://cloud.githubusercontent.com/assets/7261570/6825558/b1140936-d2fb-11e4-8723-00429520c177.png)"}}