ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

NI Stack shows different outputs on Kinect

asked 2011-03-07 09:21:48 -0600

blueskin gravatar image

updated 2016-10-24 09:02:34 -0600

ngrennan gravatar image


So basically, if I build the sample source files such as NiSimpleViewer.cpp I see a clear disparity between depth and image data when I use DISPLAY_MODE_OVERLAY but when I run the binary Sample-NiSimpleViewer provided with the library I get a good overlap between the data

Am I missing something, do I have to calibrate my kinect manually and use those parameters? or if you have a link to the source on which the binary ni/ni/openni/bin/Sample-NiSimpleViewer is built on, please reply me. Thank you.

I initially assumed that the binaries provided in the stack ni @ ni/ni/openni/bin are actually built on code provided @ ni/ni/openni/build/openni/Samples but when I run ni/ni/openni/bin/Sample-NiSimpleViewer it gives a different output than ni/ni/openni/build/openni/Samples/NiSimpleViewer/NiSimpleViewer.cpp

Here are the images that I obtained from both Binary provided with NI stack image description

If you look at my hand in both the images then you can see a clear disparity.

[I am using diamondback on Ubuntu 10.04]

Best, CV

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2011-03-14 10:01:38 -0600

Suat Gedikli gravatar image

It seems, that the registration is not turned on in the second example (bottom image). Just look in the example ho to turn on/off registration.

edit flag offensive delete link more

answered 2011-03-10 18:05:11 -0600

tfoote gravatar image

You don't need to calibrate the Kinect.

I don't know what source is used for the build, but it sounds like they have different parameters when they run.

All the binaries were built by the code in that directory so if you want to know which binaries were built from where just look at the Makefiles and CMakeLists.txt

edit flag offensive delete link more

Question Tools


Asked: 2011-03-07 09:21:48 -0600

Seen: 552 times

Last updated: Mar 14 '11