unnivm / javacv

Automatically exported from code.google.com/p/javacv
0 stars 0 forks source link

Ease of use of the OpenKinectFrameGrabber #273

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello, 

The current version of OpenKinectFrameGrabber is minimalist. With a few changes 
it is easier to use. 

Here is what I did: 

I added two variables to control the depth and color format, with dedicated 
getters and settes. 
I enabled the FREENECT_DEPTH_REGISTERED format and FREENECT_DEPTH_MM format for 
depth retreiving.

It only changes the grabDepth() and grabColor() functions. 
The grab() function still uses the bitsPerPixel to control the format change (I 
think it is used in ProCamCalib). 

It is based on JavaCV 0.3. 

If you want to integrate it in future release I would be pleased !

Best Regards, 

Jeremy. 

Original issue reported on code.google.com by poqud...@gmail.com on 21 Jan 2013 at 6:56

Attachments:

GoogleCodeExporter commented 8 years ago
Looks good to me! Let me know if this works alright:
http://code.google.com/p/javacv/source/detail?r=ce6c88e751053a06b1deb4e65f2490b5
fe2694b0
thanks

Original comment by samuel.a...@gmail.com on 26 Jan 2013 at 9:22

GoogleCodeExporter commented 8 years ago
Changes included in latest release (JavaCV 0.4), thanks for helping out!

Original comment by samuel.a...@gmail.com on 3 Mar 2013 at 12:20