PCL-LZF 8-bit Bayer image format reader. More...
#include <lzf_image_io.h>
Public Member Functions | |
LZFBayer8ImageReader () | |
template<typename PointT > | |
bool | read (const std::string &filename, pcl::PointCloud< PointT > &cloud) |
Read the data stored in a PCLZF Bayer 8bit 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 Bayer 8bit file and convert it to a pcl::PointCloud type. Note that, unless massively multithreaded, this will likely not result in a significant speedup and may even slow performance. | |
~LZFBayer8ImageReader () |
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.
Definition at line 325 of file lzf_image_io.h.
pcl::io::LZFBayer8ImageReader::LZFBayer8ImageReader | ( | ) | [inline] |
Empty constructor
Definition at line 331 of file lzf_image_io.h.
pcl::io::LZFBayer8ImageReader::~LZFBayer8ImageReader | ( | ) | [inline] |
Empty destructor
Definition at line 333 of file lzf_image_io.h.
bool pcl::io::LZFBayer8ImageReader::read | ( | const std::string & | filename, |
pcl::PointCloud< PointT > & | cloud | ||
) |
Read the data stored in a PCLZF Bayer 8bit file and convert it to a pcl::PointCloud type.
[in] | filename | the file name to read the data from |
[out] | cloud | the resultant output point cloud |
Reimplemented from pcl::io::LZFRGB24ImageReader.
Definition at line 411 of file lzf_image_io.hpp.
bool pcl::io::LZFBayer8ImageReader::readOMP | ( | const std::string & | filename, |
pcl::PointCloud< PointT > & | cloud, | ||
unsigned int | num_threads = 0 |
||
) |
Read the data stored in a PCLZF Bayer 8bit file and convert it to a pcl::PointCloud type. Note that, unless massively multithreaded, this will likely not result in a significant speedup and may even slow performance.
[in] | filename | the file name to read the data from |
[in] | num_threads | The number of threads to use |
[out] | cloud | the resultant output point cloud |
Reimplemented from pcl::io::LZFRGB24ImageReader.
Definition at line 461 of file lzf_image_io.hpp.