Page MenuHomePhabricator

Kinect-Camera does not work anymore
Closed, ResolvedPublic


As it seems, the current master does not generate a proper Data-Node for the Kinect-Device anymore.

Tested this in Debug-Mode.

Event Timeline

Works for me on Ubuntu 64 bit

Alex and i found out, that we can only reproduce the bug on windows-systems.

It is all about the data-nodes, which are not generated properly. In detail we have been looking into the "ToFUtil" and it´s "ToFCameraConnected".
The missing Apmlitude-Image of the Kinect seems to be one of our biggest troubles.

ToDo for the next days will be using the git-bisect-command to find a working version of our code and comparing new vs old code.

[917a57]: Merge branch 'bug-12969-KinectCameraDoesNotWorkAnymore'

Merged commits:

2012-10-12 09:44:51 Alexander Seitel [b83355]
Initialize m_ToFImageGrabber only whwn connecting

2012-10-12 08:54:00 Alexander Seitel [1c1671]
Removed class prefix in header declaration of methods

2012-10-11 15:56:34 Alexander Seitel [0d977b]
Show image nodes only if they are available for selected camera

2012-10-11 15:55:38 Alexander Seitel [226c47]
Check if nodes are available

2012-10-11 15:55:21 Alexander Seitel [b5b5ff]
Added signal for change of kinect connection mode (RGB, IR)

2012-10-11 15:54:44 Alexander Seitel [9a7c1b]
Added get methods for properties

Tested the Kinect on my Win7 x64 System. IT´S WORKING!

While the bug itself seem to be resolved, i am now facing some trouble "changing" devices.

For example one can not disconnect the Kinect, connect the MitkPlayer and make it play data(press"Play").Instead Mitk just brings up an error Pop-Up
telling you "An error occurred. You should save all data and quit the programm to prevent possible data loss".

On the other hand you can first use the Player and afterwards the Kinect.


  1. "Connect" Kinect
  2. "Play" Kinect
  3. "Stop"/"Disconnect" Kinect
  4. "Connect" MitkPlayer
  5. "Play" MitkPlayer

-> Error


  1. "Connect" MitkPlayer (select file)
  2. "Play" Data
  3. "Stop"/"Disconnect" MitkPlayer
  4. "Connect" Kinect
  5. "Play" Kinect

-> Everything is doing fine

Should i create a new bugzilla-entry?

[60e900]: Merge branch 'bug-12969-KinectCameraDoesNotWorkAnymore'

Merged commits:

2012-10-12 16:30:18 Alexander Seitel [f4008d]
Correctly handle initializiation and visibility of images

2012-10-12 16:29:59 Alexander Seitel [d431d7]
Check acquisition mode before connection

2012-10-12 16:29:45 Alexander Seitel [e15876]
Added method to get acquisition mode