| object | The octree option object. | |
| PointResolution | double | The point cloud resolution. This parameter determines the precision of the point coordinates during encoding. Default value: 0.01. | 0.01 |
| OctreeResolution | double | The minimum block size when an octree is partitioned. The minimum block size indicates the edge length of a voxel. Default value: 0.01. | 0.01 |
| DoVoxelGridDownDownSampling | boolean | Specifies whether to downsample the point cloud file. Valid values:
- true: The point cloud file is downsampled, and the coordinates of the points in a voxel are replaced with the coordinates of the center point of the voxel. The average color of all points in the voxel is used as the color of the voxel. In this case, the PointResolution parameter does not take effect.
- false: Specific coordinates and colors in a voxel are encoded by calculating the offsets from each point to the lower-left corner of the voxel. The offsets are divided by the PointResolution value to obtain the integer coordinates. The residual of the color for each point relative to the average color of all points in the voxel is encoded.
| false |
| LibraryName | string | The library name. Set the value to pcl. Default value: pcl. | pcl |