jstraub/cudaPcl

Give guidance for parameter selection

mpatalberta opened this issue · 5 comments

Can some one supply some guidance on parameter selection.

Please clarify which parameters?

openniSmoothDepth: grab RGB-D frames from an openni device, smooth the depth image using a fast GPU enhanced guided filter and display it.
Allowed options:
-h [ --help ] produce help message
-e [ --eps ] arg sqrt of the epsilon parameter of the guided filter
-b [ --B ] arg guided filter windows size (size will be (2B+1)x(2B+1))

We have a 640x480 XYZ with Intensity and confidence value
How do you decide how to set the two sets of parameter.

Well the code is meant to filter a single channel (namely the depth) of an RGB-D camera. Most of the parameter setting will depend on the kind of noise your sensor has. I think I used eps=0.04 and B=10 for an Xtion PRO sensor.

I have not used Kinect V2. But I hear that it has lower noise so you should be able to use the same settings or even smaller eps. Just try it and look at the surface normal image; tweak the parameters till it looks smooth on planar regions and hopefully not too smooth across depth discontinuities.