Research Article

Sloped Terrain Segmentation for Autonomous Drive Using Sparse 3D Point Cloud

Pseudocode 2

Voxel labeling algorithm.
(1) function VoxelLabeling( )
(2)    VerticalLabeling( , 0)
(3)    for from 1 to ColumnCount( ) − 1 do
(4)    VerticalLabeling( , )
(5)    HorizontalLabeling( , , )
(6)    end
(7) end