39 #include <pcl/pcl_config.h>
42 #include <pcl/io/image.h>
61 getEncoding ()
const override
67 fillRGB (
unsigned width,
unsigned height,
unsigned char* rgb_buffer,
unsigned rgb_line_step = 0)
const override;
70 fillGrayscale (
unsigned width,
unsigned height,
unsigned char* gray_buffer,
unsigned gray_line_step = 0)
const override;
73 isResizingSupported (
unsigned input_width,
unsigned input_height,
unsigned output_width,
unsigned output_height)
const override;
shared_ptr< FrameWrapper > Ptr
Image interface class providing an interface to fill a RGB or Grayscale image buffer.
std::chrono::high_resolution_clock::time_point Timestamp
Concrete implementation of the interface Image for a YUV 422 image used by Primesense devices.
~ImageYUV422() noexcept override
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 a...
ImageYUV422(FrameWrapper::Ptr image_metadata, Timestamp timestamp)
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...
ImageYUV422(FrameWrapper::Ptr image_metadata)
Defines all the PCL and non-PCL macros used.