This class provides methods to fill a RGB or Grayscale image buffer from underlying RGB24 image. More...
#include <pcl/io/openni_camera/openni_image_rgb24.h>


Public Member Functions | |
| ImageRGB24 (boost::shared_ptr< xn::ImageMetaData > image_meta_data) throw () | |
| virtual | ~ImageRGB24 () throw () |
| virtual Encoding | getEncoding () const |
| returns the encoding of the native data. | |
| virtual void | fillRGB (unsigned width, unsigned height, unsigned char *rgb_buffer, unsigned rgb_line_step=0) const |
| fills a user given buffer with the RGB values, with an optional nearest-neighbor down sampling and an optional subregion | |
| virtual void | fillGrayscale (unsigned width, unsigned height, unsigned char *gray_buffer, unsigned gray_line_step=0) const |
| fills a user given buffer with the gray values, with an optional nearest-neighbor down sampling and an optional subregion | |
| virtual bool | isResizingSupported (unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height) const |
Static Public Member Functions | |
| static bool | resizingSupported (unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height) |
This class provides methods to fill a RGB or Grayscale image buffer from underlying RGB24 image.
Definition at line 53 of file openni_image_rgb24.h.
| openni_wrapper::ImageRGB24::ImageRGB24 | ( | boost::shared_ptr< xn::ImageMetaData > | image_meta_data | ) | throw () |
| virtual openni_wrapper::ImageRGB24::~ImageRGB24 | ( | ) | throw () [virtual] |
| virtual void openni_wrapper::ImageRGB24::fillGrayscale | ( | unsigned | width, | |
| unsigned | height, | |||
| unsigned char * | gray_buffer, | |||
| unsigned | gray_line_step = 0 | |||
| ) | const [virtual] |
fills a user given buffer with the gray values, with an optional nearest-neighbor down sampling and an optional subregion
| [in] | width | desired width of output image. |
| [in] | height | desired height of output image. |
| [in,out] | gray_buffer | the output gray buffer. |
| [in] | gray_line_step | optional line step in bytes to allow the output in a rectangular subregion of the output buffer. |
Implements openni_wrapper::Image.
| virtual void openni_wrapper::ImageRGB24::fillRGB | ( | unsigned | width, | |
| unsigned | height, | |||
| unsigned char * | rgb_buffer, | |||
| unsigned | rgb_line_step = 0 | |||
| ) | const [virtual] |
fills a user given buffer with the RGB values, with an optional nearest-neighbor down sampling and an optional subregion
| [in] | width | desired width of output image. |
| [in] | height | desired height of output image. |
| [in,out] | rgb_buffer | the output RGB buffer. |
| [in] | rgb_line_step | optional line step in bytes to allow the output in a rectangular subregion of the output buffer. |
Implements openni_wrapper::Image.
| virtual Encoding openni_wrapper::ImageRGB24::getEncoding | ( | ) | const [inline, virtual] |
returns the encoding of the native data.
Implements openni_wrapper::Image.
Definition at line 61 of file openni_image_rgb24.h.
| virtual bool openni_wrapper::ImageRGB24::isResizingSupported | ( | unsigned | input_width, | |
| unsigned | input_height, | |||
| unsigned | output_width, | |||
| unsigned | output_height | |||
| ) | const [virtual] |
| [in] | input_width | width of input image |
| [in] | input_height | height of input image |
| [in] | output_width | width of desired output image |
| [in] | output_height | height of desired output image |
Implements openni_wrapper::Image.
| bool openni_wrapper::ImageRGB24::resizingSupported | ( | unsigned | input_width, | |
| unsigned | input_height, | |||
| unsigned | output_width, | |||
| unsigned | output_height | |||
| ) | [inline, static] |
Definition at line 73 of file openni_image_rgb24.h.