libeblearntools
ebl::camera_kinect< Tdata > Class Template Reference

#include <camera_kinect.h>

Inheritance diagram for ebl::camera_kinect< Tdata >:
ebl::camera< Tdata >

List of all members.

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.

Detailed Description

template<typename Tdata>
class ebl::camera_kinect< Tdata >

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).


Constructor & Destructor Documentation

template<typename Tdata >
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.

Parameters:
heightResize input frame to this height if different than -1.
widthResize input frame to this width if different than -1.

The documentation for this class was generated from the following files: