Closed tk120404 closed 11 years ago
Also when you call setRegistration(true) the depth and IR cameras are not aligned and when calling it with false they are. Whenever calling it with false the program will crash randomly in Visual Studio with the error:
Expression: vector subscript out of range
I have 2 kinects (xbox360 ones, orange tip-usb, not sure if there are other ways of identifying models?) and I think I'm getting the same crash on one of my kinects; I'm leaving registration as the default (false) and when I get a crash, the depth-raw value is 10000 (same as maxDepthLevels) so when it accesses the depthLookupTable you get the out of range crash.
Changing maxDepthLevels to 10001 fixes my problem..
I'm not doing much other than default construction, this is my init() mKinect.init( false, true, false )
Is this still an issue? I've accepted the PR by @SoylentGraham. Can you try the develop branch?
ofxKinect development has now moved to the OF core. Please test again with the OF 0.8.0 release which now includes ofxKinect and log any further issues to the main OpenFrameworks repo.
Hi I am trying to get the calibratedRGBdepthimage by setRegistration(true); but i am getting the normal getPixels() value.
Tx