|
Point Cloud Library (PCL) 1.12.1
|
Concrete implementation of the interface Image for a YUV 422 image used by Primesense devices. More...
#include <pcl/io/openni_camera/openni_image_yuv_422.h>
Inheritance diagram for openni_wrapper::ImageYUV422:
Collaboration diagram for openni_wrapper::ImageYUV422:Public Member Functions | |
| ImageYUV422 (pcl::shared_ptr< xn::ImageMetaData > image_meta_data) noexcept | |
| ~ImageYUV422 () noexcept | |
| Encoding | getEncoding () const override |
| returns the encoding of the native data. | |
| bool | isResizingSupported (unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height) const override |
| void | fillRGB (unsigned width, unsigned height, unsigned char *rgb_buffer, unsigned rgb_line_step=0) const override |
| fills a user given buffer with the RGB values, with an optional nearest-neighbor down sampling and an optional subregion | |
| void | fillGrayscale (unsigned width, unsigned height, unsigned char *gray_buffer, unsigned gray_line_step=0) const override |
| fills a user given buffer with the gray values, with an optional nearest-neighbor down sampling and an optional subregion | |
Public Member Functions inherited from openni_wrapper::Image | |
| Image (pcl::shared_ptr< xn::ImageMetaData > image_meta_data) noexcept | |
| Constructor. | |
| virtual | ~Image () noexcept |
| virtual Destructor that never throws an exception. | |
| virtual bool | isResizingSupported (unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height) const =0 |
| virtual void | fillRGB (unsigned width, unsigned height, unsigned char *rgb_buffer, unsigned rgb_line_step=0) const =0 |
| fills a user given buffer with the RGB values, with an optional nearest-neighbor down sampling and an optional subregion | |
| virtual Encoding | getEncoding () const =0 |
| returns the encoding of the native data. | |
| void | fillRaw (unsigned char *rgb_buffer) const throw () |
| fills a user given buffer with the raw values. | |
| virtual void | fillGrayscale (unsigned width, unsigned height, unsigned char *gray_buffer, unsigned gray_line_step=0) const =0 |
| fills a user given buffer with the gray values, with an optional nearest-neighbor down sampling and an optional subregion | |
| unsigned | getWidth () const throw () |
| unsigned | getHeight () const throw () |
| unsigned | getFrameID () const throw () |
| unsigned long | getTimeStamp () const throw () |
| const xn::ImageMetaData & | getMetaData () const 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 | |
| enum | Encoding { BAYER_GRBG , YUV422 , RGB } |
| using | Ptr = pcl::shared_ptr< Image > |
| using | ConstPtr = pcl::shared_ptr< const Image > |
Protected Attributes inherited from openni_wrapper::Image | |
| pcl::shared_ptr< xn::ImageMetaData > | image_md_ |
Concrete implementation of the interface Image for a YUV 422 image used by Primesense devices.
Definition at line 55 of file openni_image_yuv_422.h.
|
noexcept |
|
noexcept |
|
overridevirtual |
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.
|
overridevirtual |
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.
|
inlineoverridevirtual |
returns the encoding of the native data.
Implements openni_wrapper::Image.
Definition at line 62 of file openni_image_yuv_422.h.
|
overridevirtual |
| [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.
|
inlinestatic |
Definition at line 74 of file openni_image_yuv_422.h.