Public Member Functions | Static Public Member Functions | List of all members
openni_wrapper::ImageYUV422 Class Reference

Concrete implementation of the interface Image for a YUV 422 image used by Primesense devices. More...

#include <openni_image_yuv_422.h>

Inheritance diagram for openni_wrapper::ImageYUV422:
Inheritance graph
[legend]

Public Member Functions

virtual void fillGrayscale (unsigned width, unsigned height, unsigned char *gray_buffer, unsigned gray_line_step=0) const throw (OpenNIException)
 
virtual void fillRGB (unsigned width, unsigned height, unsigned char *rgb_buffer, unsigned rgb_line_step=0) const throw (OpenNIException)
 
virtual Encoding getEncoding () const
 
 ImageYUV422 (boost::shared_ptr< xn::ImageMetaData > image_meta_data) throw ()
 
virtual bool isResizingSupported (unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height) const
 
virtual ~ImageYUV422 () throw ()
 
- Public Member Functions inherited from openni_wrapper::Image
void fillRaw (unsigned char *rgb_buffer) const throw (OpenNIException)
 
unsigned getFrameID () const throw ()
 
unsigned getHeight () const throw ()
 
const xn::ImageMetaData & getMetaData () const throw ()
 
const boost::shared_ptr< xn::ImageMetaData > getMetaDataPtr () const
 
unsigned long getTimeStamp () const throw ()
 
unsigned getWidth () const throw ()
 
 Image (boost::shared_ptr< xn::ImageMetaData > image_meta_data) throw ()
 
virtual ~Image () throw ()
 

Static Public Member Functions

static bool resizingSupported (unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height)
 

Additional Inherited Members

- Public Types inherited from openni_wrapper::Image
typedef boost::shared_ptr< const ImageConstPtr
 
enum  Encoding { BAYER_GRBG, YUV422, RGB }
 
typedef boost::shared_ptr< ImagePtr
 
- Protected Attributes inherited from openni_wrapper::Image
boost::shared_ptr< xn::ImageMetaData > image_md_
 

Detailed Description

Concrete implementation of the interface Image for a YUV 422 image used by Primesense devices.

Author
Suat Gedikli
Date
02.january 2011

Definition at line 49 of file openni_image_yuv_422.h.

Constructor & Destructor Documentation

openni_wrapper::ImageYUV422::ImageYUV422 ( boost::shared_ptr< xn::ImageMetaData >  image_meta_data)
throw (
)

Definition at line 47 of file openni_image_yuv_422.cpp.

openni_wrapper::ImageYUV422::~ImageYUV422 ( )
throw (
)
virtual

Definition at line 52 of file openni_image_yuv_422.cpp.

Member Function Documentation

void openni_wrapper::ImageYUV422::fillGrayscale ( unsigned  width,
unsigned  height,
unsigned char *  gray_buffer,
unsigned  gray_line_step = 0 
) const
throw (OpenNIException
)
virtual

Implements openni_wrapper::Image.

Definition at line 122 of file openni_image_yuv_422.cpp.

void openni_wrapper::ImageYUV422::fillRGB ( unsigned  width,
unsigned  height,
unsigned char *  rgb_buffer,
unsigned  rgb_line_step = 0 
) const
throw (OpenNIException
)
virtual

Implements openni_wrapper::Image.

Definition at line 61 of file openni_image_yuv_422.cpp.

virtual Encoding openni_wrapper::ImageYUV422::getEncoding ( ) const
inlinevirtual

Implements openni_wrapper::Image.

Definition at line 56 of file openni_image_yuv_422.h.

bool openni_wrapper::ImageYUV422::isResizingSupported ( unsigned  input_width,
unsigned  input_height,
unsigned  output_width,
unsigned  output_height 
) const
virtual

Implements openni_wrapper::Image.

Definition at line 56 of file openni_image_yuv_422.cpp.

bool openni_wrapper::ImageYUV422::resizingSupported ( unsigned  input_width,
unsigned  input_height,
unsigned  output_width,
unsigned  output_height 
)
inlinestatic

Definition at line 67 of file openni_image_yuv_422.h.


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


openni_camera
Author(s): Patrick Mihelich, Suat Gedikli, Radu Bogdan Rusu
autogenerated on Mon Jun 10 2019 14:15:54