Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes
openni_wrapper::ImageBayerGRBG Class Reference

This class provides methods to fill a RGB or Grayscale image buffer from underlying Bayer pattern image. More...

#include <openni_image_bayer_grbg.h>

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

List of all members.

Public Types

enum  DebayeringMethod { Bilinear = 0, EdgeAware, EdgeAwareWeighted }

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)
DebayeringMethod getDebayeringMethod () const throw ()
virtual Encoding getEncoding () const
 ImageBayerGRBG (boost::shared_ptr< xn::ImageMetaData > image_meta_data, DebayeringMethod method) throw ()
virtual bool isResizingSupported (unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height) const
void setDebayeringMethod (const DebayeringMethod &method) throw ()
virtual ~ImageBayerGRBG () throw ()

Static Public Member Functions

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

Protected Attributes

DebayeringMethod debayering_method_

Detailed Description

This class provides methods to fill a RGB or Grayscale image buffer from underlying Bayer pattern image.

Author:
Suat Gedikli
Date:
02.january 2011

Definition at line 48 of file openni_image_bayer_grbg.h.


Member Enumeration Documentation

Enumerator:
Bilinear 
EdgeAware 
EdgeAwareWeighted 

Definition at line 52 of file openni_image_bayer_grbg.h.


Constructor & Destructor Documentation

openni_wrapper::ImageBayerGRBG::ImageBayerGRBG ( boost::shared_ptr< xn::ImageMetaData >  image_meta_data,
DebayeringMethod  method 
) throw ()

Definition at line 50 of file openni_image_bayer_grbg.cpp.

Definition at line 56 of file openni_image_bayer_grbg.cpp.


Member Function Documentation

void openni_wrapper::ImageBayerGRBG::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 65 of file openni_image_bayer_grbg.cpp.

void openni_wrapper::ImageBayerGRBG::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 288 of file openni_image_bayer_grbg.cpp.

Definition at line 83 of file openni_image_bayer_grbg.h.

virtual Encoding openni_wrapper::ImageBayerGRBG::getEncoding ( ) const [inline, virtual]

Implements openni_wrapper::Image.

Definition at line 63 of file openni_image_bayer_grbg.h.

bool openni_wrapper::ImageBayerGRBG::isResizingSupported ( unsigned  input_width,
unsigned  input_height,
unsigned  output_width,
unsigned  output_height 
) const [virtual]

Implements openni_wrapper::Image.

Definition at line 60 of file openni_image_bayer_grbg.cpp.

bool openni_wrapper::ImageBayerGRBG::resizingSupported ( unsigned  input_width,
unsigned  input_height,
unsigned  output_width,
unsigned  output_height 
) [inline, static]

Definition at line 88 of file openni_image_bayer_grbg.h.

void openni_wrapper::ImageBayerGRBG::setDebayeringMethod ( const DebayeringMethod method) throw () [inline]

Definition at line 78 of file openni_image_bayer_grbg.h.


Member Data Documentation

Definition at line 75 of file openni_image_bayer_grbg.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 Thu Jun 6 2019 20:16:13