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

PCL-LZF 16-bit YUV422 image format writer. More...

#include <pcl/io/lzf_image_io.h>

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

List of all members.

Public Member Functions

 LZFYUV422ImageWriter ()
 Empty constructor.
virtual ~LZFYUV422ImageWriter ()
 Empty destructor.
virtual bool write (const char *data, uint32_t width, uint32_t height, const std::string &filename)
 Save a 16-bit YUV422 image into PCL-LZF format.

Detailed Description

PCL-LZF 16-bit YUV422 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.

Author:
Radu B. Rusu

Definition at line 579 of file lzf_image_io.h.


Constructor & Destructor Documentation

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

Empty constructor.

Definition at line 583 of file lzf_image_io.h.

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

Empty destructor.

Definition at line 585 of file lzf_image_io.h.


Member Function Documentation

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

Save a 16-bit YUV422 image into PCL-LZF format.

Parameters:
[in] data the array holding the YUV422 image (as [YUYV...YUYV])
[in] width the with of the data array
[in] height the height of the data array
[in] filename the file name to write (preferred extension: .pclzf)
Returns:
true if operation successful, false otherwise

Reimplemented from pcl::io::LZFRGB24ImageWriter.


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