Concrete implementation of the interface Image for a YUV 422 image used by Primesense devices.
More...
#include <pcl/io/image_yuv422.h>
|
| ImageYUV422 (FrameWrapper::Ptr image_metadata) |
|
| ImageYUV422 (FrameWrapper::Ptr image_metadata, Timestamp timestamp) |
|
virtual | ~ImageYUV422 () throw () |
|
virtual Encoding | getEncoding () const |
| returns the encoding of the native data. More...
|
|
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 More...
|
|
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 More...
|
|
virtual bool | isResizingSupported (unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height) const |
|
| Image (FrameWrapper::Ptr image_metadata) |
|
| Image (FrameWrapper::Ptr image_metadata, Timestamp time) |
|
virtual | ~Image () |
| virtual Destructor that never throws an exception. More...
|
|
virtual void | fillRaw (unsigned char *rgb_buffer) const |
| fills a user given buffer with the raw values. More...
|
|
unsigned | getWidth () const |
|
unsigned | getHeight () const |
|
unsigned | getFrameID () const |
|
pcl::uint64_t | getTimestamp () const |
|
Timestamp | getSystemTimestamp () const |
|
const void * | getData () |
|
int | getDataSize () const |
|
unsigned | getStep () const |
|
Concrete implementation of the interface Image for a YUV 422 image used by Primesense devices.
Definition at line 52 of file image_yuv422.h.
virtual pcl::io::ImageYUV422::~ImageYUV422 |
( |
| ) |
|
throw | ( | |
| ) | | |
|
virtual |
virtual void pcl::io::ImageYUV422::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
- Parameters
-
[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 pcl::io::Image.
virtual void pcl::io::ImageYUV422::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
- Parameters
-
[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 pcl::io::Image.
virtual Encoding pcl::io::ImageYUV422::getEncoding |
( |
| ) |
const |
|
inlinevirtual |
virtual bool pcl::io::ImageYUV422::isResizingSupported |
( |
unsigned |
input_width, |
|
|
unsigned |
input_height, |
|
|
unsigned |
output_width, |
|
|
unsigned |
output_height |
|
) |
| const |
|
virtual |
- Parameters
-
[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 |
- Returns
- wheter the resizing is supported or not.
Implements pcl::io::Image.
The documentation for this class was generated from the following file:
- /tmp/B.7abf3ea8-8609-4473-9347-5906fc56181c/BUILD/pcl-pcl-1.7.2/io/include/pcl/io/image_yuv422.h