Public Member Functions
pcl::io::LZFYUV422ImageReader Class Reference

PCL-LZF 8-bit Bayer image format reader. More...

#include <lzf_image_io.h>

Inheritance diagram for pcl::io::LZFYUV422ImageReader:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 LZFYUV422ImageReader ()
template<typename PointT >
bool read (const std::string &filename, pcl::PointCloud< PointT > &cloud)
 Read the data stored in a PCLZF YUV422 16bit 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 YUV422 file and convert it to a pcl::PointCloud type. Note that, unless massively multithreaded, this will likely not result in a significant speedup.
 ~LZFYUV422ImageReader ()

Detailed Description

PCL-LZF 8-bit Bayer 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 287 of file lzf_image_io.h.


Constructor & Destructor Documentation

Empty constructor

Definition at line 293 of file lzf_image_io.h.

Empty destructor

Definition at line 295 of file lzf_image_io.h.


Member Function Documentation

template<typename PointT >
bool pcl::io::LZFYUV422ImageReader::read ( const std::string filename,
pcl::PointCloud< PointT > &  cloud 
)

Read the data stored in a PCLZF YUV422 16bit file and convert it to a pcl::PointCloud type.

Parameters:
[in]filenamethe file name to read the data from
[out]cloudthe resultant output point cloud

Reimplemented from pcl::io::LZFRGB24ImageReader.

Definition at line 292 of file lzf_image_io.hpp.

template<typename PointT >
bool pcl::io::LZFYUV422ImageReader::readOMP ( const std::string filename,
pcl::PointCloud< PointT > &  cloud,
unsigned int  num_threads = 0 
)

Read the data stored in a PCLZF YUV422 file and convert it to a pcl::PointCloud type. Note that, unless massively multithreaded, this will likely not result in a significant speedup.

Parameters:
[in]filenamethe file name to read the data from
[in]num_threadsThe number of threads to use
[out]cloudthe resultant output point cloud

Reimplemented from pcl::io::LZFRGB24ImageReader.

Definition at line 350 of file lzf_image_io.hpp.


The documentation for this class was generated from the following files:


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:43:58