Point Cloud Library (PCL)
1.11.1-dev
|
41 #include <pcl/point_cloud.h>
97 readParameters (
const std::string &filename);
104 parameters_ = parameters;
133 return (image_type_identifier_);
150 loadImageBlob (
const std::string &filename,
151 std::vector<char> &data,
152 std::uint32_t &uncompressed_size);
160 decompress (
const std::vector<char> &input,
161 std::vector<char> &output);
193 : z_multiplication_factor_ (0.001)
203 template <
typename Po
intT>
bool
211 template <
typename Po
intT>
bool
213 unsigned int num_threads=0);
220 readParameters (std::istream& is)
override;
253 template<
typename Po
intT>
bool
262 template <
typename Po
intT>
bool
264 unsigned int num_threads=0);
271 readParameters (std::istream& is)
override;
300 template<
typename Po
intT>
bool
309 template <
typename Po
intT>
bool
311 unsigned int num_threads=0);
338 template<
typename Po
intT>
bool
347 template <
typename Po
intT>
bool
349 unsigned int num_threads=0);
392 write (
const char* data,
393 std::uint32_t width, std::uint32_t height,
394 const std::string &filename) = 0;
403 const std::string &filename) = 0;
416 std::uint32_t width, std::uint32_t height,
418 const std::string &filename_data,
419 const std::string &filename_xml)
421 bool res1 =
write (data, width, height, filename_data);
422 bool res2 = writeParameters (parameters, filename_xml);
423 return (res1 && res2);
438 writeParameter (
const double ¶meter,
const std::string &tag,
439 const std::string &filename);
448 saveImageBlob (
const char* data, std::size_t data_size,
449 const std::string &filename);
463 compress (
const char* input, std::uint32_t input_size,
464 std::uint32_t width, std::uint32_t height,
465 const std::string &image_type,
484 : z_multiplication_factor_ (0.001)
498 write (
const char* data,
499 std::uint32_t width, std::uint32_t height,
500 const std::string &filename)
override;
516 const std::string &filename)
override;
551 write (
const char *data,
552 std::uint32_t width, std::uint32_t height,
553 const std::string &filename)
override;
562 const std::string &filename)
override;
593 write (
const char *data,
594 std::uint32_t width, std::uint32_t height,
595 const std::string &filename)
override;
624 write (
const char *data,
625 std::uint32_t width, std::uint32_t height,
626 const std::string &filename)
override;
631 #include <pcl/io/impl/lzf_image_io.hpp>
Defines all the PCL and non-PCL macros used.
LZFDepth16ImageReader()
Empty constructor.
void setParameters(const CameraParameters ¶meters)
Read the parameters from a struct instead.
virtual bool readParameters(std::istream &)
Read camera parameters from a given stream and store them internally.
virtual ~LZFImageReader()
Empty destructor.
~LZFRGB24ImageReader()
Empty destructor.
PCL-LZF 24-bit RGB image format reader.
~LZFRGB24ImageWriter()
Empty destructor.
PointCloud represents the base class in PCL for storing collections of 3D points.
~LZFDepth16ImageWriter()
Empty destructor.
double z_multiplication_factor_
Z-value depth multiplication factor (i.e., if raw data is in [mm] and we want [m],...
LZFImageWriter()
Empty constructor.
virtual ~LZFImageWriter()
Empty destructor.
double principal_point_y
cy
Basic camera parameters placeholder.
~LZFYUV422ImageReader()
Empty destructor.
void read(std::istream &stream, Type &value)
Function for reading data from a stream.
LZFRGB24ImageWriter()
Empty constructor.
double principal_point_x
cx
PCL-LZF 16-bit depth image format reader.
PCL-LZF 8-bit Bayer image format reader.
bool readParameters(const std::string &filename)
Read camera parameters from a given file and store them internally.
std::uint32_t height_
The image height, as read from the file.
bool readParameters(std::istream &is) override
Read camera parameters from a given stream and store them internally.
LZFBayer8ImageWriter()
Empty constructor.
CameraParameters getParameters() const
Get the camera parameters currently being used returns a CameraParameters struct.
std::uint32_t getWidth() const
Get the image width as read from disk.
PCL-LZF image format writer.
virtual bool write(const char *data, std::uint32_t width, std::uint32_t height, const CameraParameters ¶meters, const std::string &filename_data, const std::string &filename_xml)
Save an image and its camera parameters into PCL-LZF format.
PCL-LZF 24-bit RGB image format writer.
PCL-LZF 16-bit depth image format writer.
PCL-LZF image format reader.
~LZFYUV422ImageWriter()
Empty destructor.
~LZFDepth16ImageReader()
Empty destructor.
LZFYUV422ImageWriter()
Empty constructor.
LZFBayer8ImageReader()
Empty constructor.
double z_multiplication_factor_
Z-value depth multiplication factor (i.e., if raw data is in [mm] and we want [m],...
LZFRGB24ImageReader()
Empty constructor.
std::uint32_t width_
The image width, as read from the file.
void write(std::ostream &stream, Type value)
Function for writing data to a stream.
std::string getImageType() const
Get the type of the image read from disk.
~LZFBayer8ImageWriter()
Empty destructor.
PCL-LZF 8-bit Bayer image format writer.
LZFDepth16ImageWriter()
Empty constructor.
std::uint32_t getHeight() const
Get the image height as read from disk.
CameraParameters parameters_
Internal set of camera parameters.
~LZFBayer8ImageReader()
Empty destructor.
PCL-LZF 8-bit Bayer image format reader.
LZFYUV422ImageReader()
Empty constructor.
std::string image_type_identifier_
The image type string, as read from the file.
PCL-LZF 16-bit YUV422 image format writer.