Point Cloud Library (PCL)
1.11.1-dev
|
39 #include <pcl/pcl_config.h>
44 #include "openni_image.h"
58 ImageYUV422 (pcl::shared_ptr<xn::ImageMetaData> image_meta_data) noexcept;
67 bool isResizingSupported (
unsigned input_width,
unsigned input_height,
unsigned output_width,
unsigned output_height)
const override;
68 void fillRGB (
unsigned width,
unsigned height,
unsigned char* rgb_buffer,
unsigned rgb_line_step = 0)
const override;
69 void fillGrayscale (
unsigned width,
unsigned height,
unsigned char* gray_buffer,
unsigned gray_line_step = 0)
const override;
70 inline static bool resizingSupported (
unsigned input_width,
unsigned input_height,
unsigned output_width,
unsigned output_height);
76 return (output_width <= input_width && output_height <= input_height && input_width % output_width == 0 && input_height % output_height == 0);
Defines all the PCL and non-PCL macros used.
Concrete implementation of the interface Image for a YUV 422 image used by Primesense devices.
Encoding getEncoding() const override
returns the encoding of the native data.
Image class containing just a reference to image meta data.
static bool resizingSupported(unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height)
Defines functions, macros and traits for allocating and using memory.