This class provides methods to fill a RGB or Grayscale image buffer from underlying Bayer pattern image. More...
#include <openni_image_bayer_grbg.h>
Public Types | |
enum | DebayeringMethod { Bilinear = 0, EdgeAware, EdgeAwareWeighted } |
Public Types inherited from openni_wrapper::Image | |
typedef boost::shared_ptr< const Image > | ConstPtr |
enum | Encoding { BAYER_GRBG, YUV422, RGB } |
typedef boost::shared_ptr< Image > | Ptr |
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 () |
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) |
Protected Attributes | |
DebayeringMethod | debayering_method_ |
Protected Attributes inherited from openni_wrapper::Image | |
boost::shared_ptr< xn::ImageMetaData > | image_md_ |
This class provides methods to fill a RGB or Grayscale image buffer from underlying Bayer pattern image.
Definition at line 48 of file openni_image_bayer_grbg.h.
Enumerator | |
---|---|
Bilinear | |
EdgeAware | |
EdgeAwareWeighted |
Definition at line 52 of file openni_image_bayer_grbg.h.
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.
|
virtual |
Definition at line 56 of file openni_image_bayer_grbg.cpp.
|
virtual |
Implements openni_wrapper::Image.
Definition at line 65 of file openni_image_bayer_grbg.cpp.
|
virtual |
Implements openni_wrapper::Image.
Definition at line 288 of file openni_image_bayer_grbg.cpp.
|
inline |
Definition at line 83 of file openni_image_bayer_grbg.h.
|
inlinevirtual |
Implements openni_wrapper::Image.
Definition at line 63 of file openni_image_bayer_grbg.h.
|
virtual |
Implements openni_wrapper::Image.
Definition at line 60 of file openni_image_bayer_grbg.cpp.
|
inlinestatic |
Definition at line 88 of file openni_image_bayer_grbg.h.
|
inline |
Definition at line 78 of file openni_image_bayer_grbg.h.
|
protected |
Definition at line 75 of file openni_image_bayer_grbg.h.