Git Product home page Git Product logo

Comments (9)

sgolodetz avatar sgolodetz commented on July 18, 2024

Two thoughts:

  • Try updating the firmware on your Asus. (Probably less necessary in your situation since NiViewer is working fine for you.)
  • Decrease the resolution of your RGB input to 320x240.

I encountered similar issues with the Asus (particularly on Windows) and those two steps helped a lot.

from infinitam.

arennuit avatar arennuit commented on July 18, 2024

Thanks a lot @sgolodetz, it does the trick ;) I only modifyed the constructor in file InfiniTAM/InfiniTAM/Engine/OpenNIEngine.h and replaced
imageSize_rgb = Vector2i(640, 480) by imageSize_rgb = Vector2i(320, 240). Note that this post helped in changing the RGB resolution.

Though I am not sure I understand why it works, as I thought RGB data was not used in the default ITMLibSettings (see issue #33).

Also, because of this, can you confirm the calib files only contain the registration between the RGB and D sensors and nothing else? (check here and here for a calibration tool for OpenNI sensors).

Regards,

Antoine

from infinitam.

sgolodetz avatar sgolodetz commented on July 18, 2024

I didn't write the calib file bit - best ask @olafkaehler.

from infinitam.

arennuit avatar arennuit commented on July 18, 2024

Understood! Thanks for your relevant help ;)

from infinitam.

olafkaehler avatar olafkaehler commented on July 18, 2024

Our OpenNI interfacing class still opens both RGB and depth streams by default. The RGB images are not used in the default configuration, and we should probably not request RGB images unless we actually do use colour. The USB-bandwidth problems only appears to occur with certain system configurations, though, I've encountered them on Linux so far.

The calibration files also contain the intrinsic calibration parameters of the depth and RGB cameras. You'll probably get marginally better results if you calibrate your own camera, but in practice it doesn't make a big difference.

from infinitam.

arennuit avatar arennuit commented on July 18, 2024

Hello @olafkaehler, I see your point for the RGB stream access. My problem did occur on Ubuntu 14.04 and was solved using @sgolodetz's trick.

For the calibration do you mean that:

  1. because I only use the D sensor, the extrinsinc parameters won't be very useful?
  2. because the intrinsic parameters don't vary much, the calibration will be of limited impact?

from infinitam.

olafkaehler avatar olafkaehler commented on July 18, 2024

You are exactly right about the calibration in both points.

from infinitam.

arennuit avatar arennuit commented on July 18, 2024

Got it, thanks!

from infinitam.

root29 avatar root29 commented on July 18, 2024

Hi, I also want to run this code in Xtion. But I got some problem:
1.Did you use "roslaunch openni_launch openni.launch" to start Xition ?
2.after that use "./InfiniTAM calibration.txt" ?
@arennuit

from infinitam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.