{"action":"created","issue":{"url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/645","repository_url":"https://api.github.com/repos/OpenKinect/libfreenect2","labels_url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/645/labels{/name}","comments_url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/645/comments","events_url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/645/events","html_url":"https://github.com/OpenKinect/libfreenect2/issues/645","id":150342704,"number":645,"title":"ARE INVALID DEPTH VALUES SET TO 0.0?","user":{"login":"jmirats","id":14908894,"avatar_url":"https://avatars.githubusercontent.com/u/14908894?v=3","gravatar_id":"","url":"https://api.github.com/users/jmirats","html_url":"https://github.com/jmirats","followers_url":"https://api.github.com/users/jmirats/followers","following_url":"https://api.github.com/users/jmirats/following{/other_user}","gists_url":"https://api.github.com/users/jmirats/gists{/gist_id}","starred_url":"https://api.github.com/users/jmirats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmirats/subscriptions","organizations_url":"https://api.github.com/users/jmirats/orgs","repos_url":"https://api.github.com/users/jmirats/repos","events_url":"https://api.github.com/users/jmirats/events{/privacy}","received_events_url":"https://api.github.com/users/jmirats/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-22T11:19:16Z","updated_at":"2016-04-26T23:06:30Z","closed_at":"2016-04-26T23:06:30Z","body":"Hello,\r\n\r\nUsing Ubuntu 14.04 and OpenGLDepthPacketProcessor to get depth images from kinect2 sensor.\r\n\r\nMy question is about the obtained depth image and the applied filters inside the drivers:\r\n- I see that depths less than or greater than [mindepth, maxdepth] parameters are set 0.0 -> OK\r\n- We can enable/disable as well bilateral and edge filtering ->OK (by the way, where exactly in the code can I check what is exactly done?)\r\n- What happens with invalid (because of measuring problems or whatever) raw depth values? Are those set to 0.0 as well?\r\n\r\nMany thanks.\r\n\r\nMy conceptual piece of code:\r\nlistenIrDepth = new libfreenect2::SyncMultiFrameListener(libfreenect2::Frame::Ir | libfreenect2::Frame::Depth);\r\nlibfreenect2::FrameMap frames;\r\nlistenIrDepth->waitForNewFrame(frames);\r\nlibfreenect2::Frame *depth = frames[libfreenect2::Frame::Depth];\r\ncv::Mat(depth->height, depth->width, CV_32FC1, depth->data).copyTo(rawDepth);\r\n"},"comment":{"url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/comments/214914410","html_url":"https://github.com/OpenKinect/libfreenect2/issues/645#issuecomment-214914410","issue_url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/645","id":214914410,"user":{"login":"xlz","id":1385542,"avatar_url":"https://avatars.githubusercontent.com/u/1385542?v=3","gravatar_id":"","url":"https://api.github.com/users/xlz","html_url":"https://github.com/xlz","followers_url":"https://api.github.com/users/xlz/followers","following_url":"https://api.github.com/users/xlz/following{/other_user}","gists_url":"https://api.github.com/users/xlz/gists{/gist_id}","starred_url":"https://api.github.com/users/xlz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xlz/subscriptions","organizations_url":"https://api.github.com/users/xlz/orgs","repos_url":"https://api.github.com/users/xlz/repos","events_url":"https://api.github.com/users/xlz/events{/privacy}","received_events_url":"https://api.github.com/users/xlz/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T23:06:30Z","updated_at":"2016-04-26T23:06:30Z","body":"I guess this answers your question."}}