Function Cloudini::PCLPointCloudEncode(const pcl::PCLPointCloud2&, std::vector<uint8_t>&, double)
Defined in File pcl_conversion.hpp
Function Documentation
-
size_t Cloudini::PCLPointCloudEncode(const pcl::PCLPointCloud2 &cloud, std::vector<uint8_t> &serialized_cloud, double resolution_XYZ)
Encodes a point cloud into a serialized format.
- Parameters:
cloud – The input point cloud to encode.
serialized_cloud – The output vector where the serialized data will be stored.
resolution_XYZ – The resolution for the XYZ coordinates, used for lossy encoding.
- Returns:
The size of the serialized data in bytes.