0

i'm using opencv interface (http://docs.opencv.org/doc/user_guide/ug_highgui.html?highlight=kinect) to get color (rgb) and depth frames from a kinect camera. For a standard VGA 640x480 resolution and with code like

capture.retrieve( bgrImage, OPENNI_BGR_IMAGE );

i get this :

I think this is really noisy. Is this normal quality for a kinect rgb camera? I tried various filtering (blurring, sharpening, opening..) procedures but i got minor improvements.

3
  • What is the light like in your room? That looks to me to be pretty typical of a low light image. Try adding a few flood lights. Have you tried other cameras in the same space? Feb 22, 2013 at 14:26
  • Do you want to know whether this is the expected image for kinect or are you interested in knowing which filters can be applied in this situation ?
    – mmgp
    Feb 22, 2013 at 16:44
  • @Evil Closet Monkey: light was surely insufficient, but i also wanted to know which filters could be applied (@mmgp). Thank you both.
    – user996922
    Feb 22, 2013 at 19:03

1 Answer 1

3

The conditions under which this image was taken are unknown to me, and I cannot attest the quality of the images taken using Kinect, so I'm ignoring this part of the question.

A very simple thing you can do to likely improve the image quality is to average several frames you might be getting. That is it.

Another options include, for example, Bilateral Filtering or Mean Shift Filtering (and I'm not sure how you would do the later purely with ready OpenCV functions) that can handle well this kind of noise. For instance, here are three rows of images. In the second column you see the edges found by Canny for the image in the first column. The first row shows the input image as is, the second row is the result of a particular Mean Shift, and the last one is for Bilateral Filtering.

enter image description here enter image description here

enter image description here enter image description here

enter image description here enter image description here

While the results are particularly good, the problem is that these filtering techniques are slow for the typical computers used nowadays.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.