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
This class provides methods to fill a RGB or Grayscale image buffer from underlying RGB24 image.
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...
ImageRGB24(FrameWrapper::Ptr image_metadata)
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...
~ImageRGB24() noexcept override
bool isResizingSupported(unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height) const override
ImageRGB24(FrameWrapper::Ptr image_metadata, Timestamp timestamp)
Defines all the PCL and non-PCL macros used.
A structure representing RGB color information.