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

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

#include <lzf_image_io.h>

Inheritance diagram for pcl::io::LZFBayer8ImageWriter:
Inheritance graph

List of all members.

Public Member Functions

 LZFBayer8ImageWriter ()
virtual bool write (const char *data, uint32_t width, uint32_t height, const std::string &filename)
 Save a 8-bit Bayer image into PCL-LZF format.
virtual ~LZFBayer8ImageWriter ()

Detailed Description

PCL-LZF 8-bit Bayer image format writer.

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.

Radu B. Rusu

Definition at line 610 of file lzf_image_io.h.

Constructor & Destructor Documentation

Empty constructor

Definition at line 614 of file lzf_image_io.h.

Empty destructor

Definition at line 616 of file lzf_image_io.h.

Member Function Documentation

bool pcl::io::LZFBayer8ImageWriter::write ( const char *  data,
uint32_t  width,
uint32_t  height,
const std::string filename 
) [virtual]

Save a 8-bit Bayer image into PCL-LZF format.

[in]datathe array holding the 8-bit Bayer array
[in]widththe with of the data array
[in]heightthe height of the data array
[in]filenamethe file name to write (preferred extension: .pclzf)
true if operation successful, false otherwise

Reimplemented from pcl::io::LZFRGB24ImageWriter.

Definition at line 333 of file lzf_image_io.cpp.

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

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