simonhr/ofxMSKinect — Issue #3: getDepthPixels() and getofDepthPixels() not working correctly?
Author: irregularF
Created: 2011-12-15 15:47:20+00:00
State: open

I'm an openFrameworks user ("irregular" in the openF forum) and I had made a thread there about a simple test I wanted to make. It is supposed to be a simple merge between the standard opencvExample that comes with oF 007 and msKinectExample that comes with the addon, so nothing fancy.
http://forum.openframeworks.cc/index.php/topic,8047.0.html

The problem is that I never managed to turn the Depth Information into information that openCV can read and turn to blobs, either using getDepthPixels() or getofDepthPixels() which is really weird and I tried many different approaches (using ofPixels, ofImage, ofTexture, Unsigned Chars).
The thread also describes my results (with screen captures) trying to change the resolutions from 320x240 to 640x480 and back. I am not aware if this is an issue or not but I've had no luck trying to find better documentation.

The following reply in the ofxMSKinect thread over at openF Forum has the source I had made, using Visual C++ 2010 Express and the Microsoft Kinect SDK as required, in a Windows 7 SP1 x64 computer:
http://forum.openframeworks.cc/index.php/topic,7282.msg38105.html#msg38105

I would describe this issue as being an unsuccesfull attempt at using what you describe in the Feature list as "4. transform depth to video" as image data, that can be ported to openCV for blob analysis.

Also, I am very thankfull for ofxMSKinect and any support will be greatly appreciated.