PCL-LZF 8-bit Bayer image format writer. More...
|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. |
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.
|bool pcl::io::LZFBayer8ImageWriter::write||(||const char *||data,|
|const std::string &||filename|
Save a 8-bit Bayer image into PCL-LZF format.
|[in]||data||the array holding the 8-bit Bayer array|
|[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)|
Reimplemented from pcl::io::LZFRGB24ImageWriter.