libeblearntools
|
#include <camera_kinect.h>
Public Member Functions | |
camera_kinect (int height=-1, int width=-1, std::ostream &out=std::cout, std::ostream &err=std::cerr) | |
virtual | ~camera_kinect () |
Destructor. | |
virtual idx< Tdata > | grab () |
Return a new frame. |
The camera_kinect class interfaces with the microsoft xbox kinect module and grabs depth maps. It allows to grab images from kinect in the idx format, and also to save gui outputs into video files(not yet).
ebl::camera_kinect< Tdata >::camera_kinect | ( | int | height = -1 , |
int | width = -1 , |
||
std::ostream & | out = std::cout , |
||
std::ostream & | err = std::cerr |
||
) |
Initialize kinect. height and width are optional parameters that resize the input image to those dimensions if given (different than -1). One may want to decrease the input resolution first to speed up operations, for example when computing multiple resolutions.
height | Resize input frame to this height if different than -1. |
width | Resize input frame to this width if different than -1. |