pcl::io::LZFDepth16ImageReader Class Reference
[Module io]

PCL-LZF 16-bit depth image format reader. More...

#include <pcl/io/lzf_image_io.h>

Inheritance diagram for pcl::io::LZFDepth16ImageReader:
Inheritance graph
[legend]
Collaboration diagram for pcl::io::LZFDepth16ImageReader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LZFDepth16ImageReader ()
 Empty constructor.
virtual ~LZFDepth16ImageReader ()
 Empty destructor.
template<typename PointT >
bool read (const std::string &filename, pcl::PointCloud< PointT > &cloud)
 Read the data stored in a PCLZF depth file and convert it to a pcl::PointCloud type.
template<typename PointT >
bool readOMP (const std::string &filename, pcl::PointCloud< PointT > &cloud, unsigned int num_threads=0)
 Read the data stored in a PCLZF depth file and convert it to a pcl::PointCloud type.
virtual bool readParameters (std::istream &is)
 Read camera parameters from a given stream and store them internally.

Protected Attributes

double z_multiplication_factor_
 Z-value depth multiplication factor (i.e., if raw data is in [mm] and we want [m], we need to multiply with 0.001).

Detailed Description

PCL-LZF 16-bit depth image format reader.

The main advantage of using the PCL-LZF image I/O routines is a very good file size versus I/O speed ratio. Tests performed using LZF, Snappy, ZIP, GZ2, BZIP2, as well as PNG, JPEG, and TIFF compression have shown that the internal PCL LZF methods provide the best score for the types of applications PCL is suited for.

Author:
Radu B. Rusu

Definition at line 186 of file lzf_image_io.h.


Constructor & Destructor Documentation

pcl::io::LZFDepth16ImageReader::LZFDepth16ImageReader (  )  [inline]

Empty constructor.

Definition at line 192 of file lzf_image_io.h.

virtual pcl::io::LZFDepth16ImageReader::~LZFDepth16ImageReader (  )  [inline, virtual]

Empty destructor.

Definition at line 198 of file lzf_image_io.h.


Member Function Documentation

template<typename PointT >
bool pcl::io::LZFDepth16ImageReader::read ( const std::string &  filename,
pcl::PointCloud< PointT > &  cloud 
) [inline]
template<typename PointT >
bool pcl::io::LZFDepth16ImageReader::readOMP ( const std::string &  filename,
pcl::PointCloud< PointT > &  cloud,
unsigned int  num_threads = 0 
) [inline]
virtual bool pcl::io::LZFDepth16ImageReader::readParameters ( std::istream &  is  )  [virtual]

Read camera parameters from a given stream and store them internally.

The parameters will be read from the <depth> ... </depth> tag.

Returns:
true if operation successful, false otherwise

Reimplemented from pcl::io::LZFImageReader.


Member Data Documentation

Z-value depth multiplication factor (i.e., if raw data is in [mm] and we want [m], we need to multiply with 0.001).

Definition at line 227 of file lzf_image_io.h.

Referenced by read(), and readOMP().


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends