Image Component Library (ICL)
|
Special Grabber implementation for Microsoft's Kinect Device. More...
#include <KinectGrabber.h>
Public Types | |
enum | Mode { GRAB_RGB_IMAGE, GRAB_BAYER_IMAGE, GRAB_DEPTH_IMAGE, GRAB_IR_IMAGE_8BIT, GRAB_IR_IMAGE_10BIT } |
Public Member Functions | |
ICLIO_API | KinectGrabber (Mode mode=GRAB_DEPTH_IMAGE, int deviceID=0, const utils::Size &size=utils::Size::VGA) throw (utils::ICLException) |
ICLIO_API | ~KinectGrabber () |
Destructor. | |
virtual ICLIO_API const core::ImgBase * | acquireImage () |
grabs a new image | |
ICLIO_API void | processPropertyChange (const utils::Configurable::Property &prop) |
callback for changed configurable properties | |
Static Public Member Functions | |
static ICLIO_API const std::vector < GrabberDeviceDescription > & | getDeviceList (bool rescan) |
returns a list of attached kinect devices | |
Protected Attributes | |
Impl * | m_impl |
internal hidden implementation class | |
Private Member Functions | |
void | updateState () |
Special Grabber implementation for Microsoft's Kinect Device.
This class implements ICL's Grabber interface for Microsofts Kinect Device. Internally, it uses libfreenect to access the device.
GRAB_RGB_IMAGE |
grabs rgb images form the kinects rgb camera |
GRAB_BAYER_IMAGE |
not supported yet |
GRAB_DEPTH_IMAGE |
grabs the core::depth image from kinect |
GRAB_IR_IMAGE_8BIT |
grabs the kinects IR-image in most common 8Bit depth |
GRAB_IR_IMAGE_10BIT |
grabs the kinects IR-image in 10Bit core::depth (use depth16s at least) |
ICLIO_API icl::io::KinectGrabber::KinectGrabber | ( | Mode | mode = GRAB_DEPTH_IMAGE , |
int | deviceID = 0 , |
||
const utils::Size & | size = utils::Size::VGA |
||
) | throw (utils::ICLException) |
Destructor.
virtual ICLIO_API const core::ImgBase* icl::io::KinectGrabber::acquireImage | ( | ) | [virtual] |
grabs a new image
Reimplemented from icl::io::Grabber.
static ICLIO_API const std::vector<GrabberDeviceDescription>& icl::io::KinectGrabber::getDeviceList | ( | bool | rescan | ) | [static] |
returns a list of attached kinect devices
ICLIO_API void icl::io::KinectGrabber::processPropertyChange | ( | const utils::Configurable::Property & | prop | ) |
callback for changed configurable properties
Reimplemented from icl::io::Grabber.
void icl::io::KinectGrabber::updateState | ( | ) | [private] |
Impl* icl::io::KinectGrabber::m_impl [protected] |
internal hidden implementation class
hidden internal data