Research Article

Research on Crop 3D Model Reconstruction Based on RGB-D Binocular Vision

Table 1

Octree-based point cloud simplification algorithm.

Algorithm 1 Octree-based point cloud simplification algorithm

Input: Original point cloud (P)
Output: Point cloud of Octree simplification (O)
1. Set the octree resolution (voxel size)
2. Divide O into voxel cubes (C) by voxel segmentation until the specified voxel size is reached
3. Calculate the voxel center of C
4. Traverse all the voxel centers
5. For:  i = 0, 1….voxel_centers.size() - 1
6. Construct a new point cloud by voxel centers