Ground segmentation

On this page 7

Ground segmentation is the perception task of classifying each point or pixel of a robot’s sensor data as either ground surface or non-ground object. In robotics perception, it is usually the first processing step applied to a LiDAR or depth camera point cloud, because removing the ground isolates obstacles, vehicles, people and structures for clustering, tracking and mapping.

The task sounds simple on flat factory floors but becomes difficult on slopes, curbs, ramps, vegetation and rough terrain. A good ground segmentation method must be fast enough for real-time operation at sensor frame rates, robust to sparse and noisy data, and conservative enough that small obstacles are never absorbed into the ground.

How ground segmentation works

Ground segmentation works by fitting a model of the ground surface to the sensor data and labeling points that lie within a tolerance of that model as ground. The model may be a single plane, a set of local planes, a grid of elevation values or a learned representation, and the tolerance is typically a few centimeters to about 0.2 m depending on sensor noise and terrain.

Most pipelines follow a common sequence: the raw point cloud is first filtered and often downsampled with a voxel grid, then seed points likely to belong to the ground are selected from the lowest region, a surface model is estimated from those seeds, and finally every point is classified by its height or distance relative to the model. Many methods iterate this loop to refine the estimate.

The table below lists the main parameters that control the behavior of a typical geometric ground segmentation algorithm.

ParameterTypical rangeEffect when increased
Distance threshold0.05 to 0.3 mMore points labeled ground, small obstacles lost
Maximum slope10 to 30 degreesRamps accepted, low obstacles misclassified
Sensor height priorKnown mounting heightBetter seed selection on flat ground
Cell or sector size0.5 to 5 mSmoother model, less local detail
Iterations1 to 5More stable fit, higher latency
Key parameters of geometric ground segmentation

Main families of ground segmentation methods

Ground segmentation methods fall into four main families: global plane fitting, local or grid-based models, scan-line and range-image methods, and learning-based segmentation. Each family trades computation, robustness on uneven terrain and dependence on training data differently.

ApproachCore ideaStrengthLimitation
Global plane fittingRANSAC or least squares on one planeSimple and fastFails on slopes and curved roads
Grid elevation mapHeight statistics per 2D cellHandles moderate unevennessCell size limits resolution
Concentric zone modelsLocal planes in polar sectorsMatches LiDAR density patternNeeds parameter tuning
Scan-line slope analysisHeight change between neighboring ringsVery low latencySensitive to sensor geometry
Deep semantic segmentationNeural network labels each pointHandles complex terrainNeeds labeled data, GPU
Comparison of ground segmentation approaches

Random sample consensus (RANSAC) remains a common baseline because it tolerates large numbers of outliers. Modern geometric methods instead divide the scan into concentric zones or polar bins and fit a separate plane to each region, which follows hills and road crowns while keeping computation low enough for 10 to 20 Hz LiDAR data on embedded processors.

Ground segmentation is a binary geometric classification, which distinguishes it from broader perception tasks that build on its output. It answers only the question of which points belong to the supporting surface, not whether that surface is safe or what the remaining objects are.

TaskQuestion answeredRelation to ground segmentation
Ground segmentationIs this point ground?Base step
Traversability estimationCan the robot drive here?Uses ground labels plus slope and roughness
Object recognitionWhat is this object?Operates on non-ground clusters
Semantic mappingWhat class is each map region?Ground becomes one semantic label
LiDAR odometryHow did the sensor move?Ground points constrain roll, pitch and height
How ground segmentation relates to neighboring tasks

The distinction matters in off-road robotics: grass may be segmented as non-ground geometrically yet still be traversable, while a smooth but steep embankment may be ground yet impassable. Traversability estimation resolves these cases by adding roughness, slope and semantic cues to the ground labels.

Choosing and tuning a ground segmentation method

The best ground segmentation method depends on terrain type, sensor and compute budget. Indoor mobile robots on flat floors rarely need more than a single plane, while autonomous vehicles and field robots require local models or learned methods.

EnvironmentRecommended approachReason
Flat warehouse floorSingle plane with height priorFast, reliable, few parameters
Urban roads with curbsConcentric zone or grid modelFollows crowns and slopes
Hilly off-road terrainLocal planes plus traversability layerGround varies strongly across scan
Dense vegetationLearned segmentation with multimodal inputGeometry alone is ambiguous
Decision table for ground segmentation in different environments

Tuning should prioritize safety over completeness: a slightly lower distance threshold leaves some ground points unclassified, which is harmless, whereas a high threshold can erase low obstacles such as pallets, curbs or lying objects. Results should be evaluated per range band, because point density falls sharply with distance from the sensor.

Typical failure modes

Ground segmentation fails most often where the ground assumption itself is violated. Experienced practitioners watch for a small set of recurring problems.

  • Under-segmentation labels low obstacles, such as curbs or small boxes, as ground.
  • Over-segmentation marks sloped ground or ramps as obstacles and blocks valid paths.
  • Sensor tilt errors from poor extrinsic calibration bias every plane estimate.
  • Sparse far-range data produces unstable local planes and noisy labels.
  • Reflective or wet surfaces create missing returns or ghost points below the ground.

Fusing an IMU estimate of roll and pitch with the point cloud reduces tilt-induced errors on moving platforms. Temporal filtering across consecutive frames further stabilizes labels in sparse regions.

In plain words

Ground segmentation is how a robot works out which part of what it sees is the floor or the road and which parts are things standing on it. Imagine looking at a photo of a parking lot and coloring the pavement gray so that cars, people and poles stand out.

Once the ground is removed, the robot can focus on real obstacles. The hard part is uneven ground, such as hills or curbs, where the floor is not perfectly flat.

A real-world example

An autonomous delivery robot operating on university campus sidewalks carries a 32-beam LiDAR mounted about 0.8 m above the ground. Early tests used a single global plane, and the robot repeatedly stopped in front of gentle ramps that were classified as obstacles, while low curbs were occasionally missed.

The engineering team switched to a concentric zone model with local planes and a distance threshold of 0.08 m, and it added IMU-based tilt correction. On the same test route, unnecessary stops dropped substantially, curbs of about 10 cm were reliably detected, and the segmentation still ran within the 100 ms LiDAR frame period on the onboard computer, giving the planner a clean obstacle map in real time.