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.
| Parameter | Typical range | Effect when increased |
|---|---|---|
| Distance threshold | 0.05 to 0.3 m | More points labeled ground, small obstacles lost |
| Maximum slope | 10 to 30 degrees | Ramps accepted, low obstacles misclassified |
| Sensor height prior | Known mounting height | Better seed selection on flat ground |
| Cell or sector size | 0.5 to 5 m | Smoother model, less local detail |
| Iterations | 1 to 5 | More stable fit, higher latency |
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.
| Approach | Core idea | Strength | Limitation |
|---|---|---|---|
| Global plane fitting | RANSAC or least squares on one plane | Simple and fast | Fails on slopes and curved roads |
| Grid elevation map | Height statistics per 2D cell | Handles moderate unevenness | Cell size limits resolution |
| Concentric zone models | Local planes in polar sectors | Matches LiDAR density pattern | Needs parameter tuning |
| Scan-line slope analysis | Height change between neighboring rings | Very low latency | Sensitive to sensor geometry |
| Deep semantic segmentation | Neural network labels each point | Handles complex terrain | Needs labeled data, GPU |
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 compared with related perception tasks
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.
| Task | Question answered | Relation to ground segmentation |
|---|---|---|
| Ground segmentation | Is this point ground? | Base step |
| Traversability estimation | Can the robot drive here? | Uses ground labels plus slope and roughness |
| Object recognition | What is this object? | Operates on non-ground clusters |
| Semantic mapping | What class is each map region? | Ground becomes one semantic label |
| LiDAR odometry | How did the sensor move? | Ground points constrain roll, pitch and height |
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.
| Environment | Recommended approach | Reason |
|---|---|---|
| Flat warehouse floor | Single plane with height prior | Fast, reliable, few parameters |
| Urban roads with curbs | Concentric zone or grid model | Follows crowns and slopes |
| Hilly off-road terrain | Local planes plus traversability layer | Ground varies strongly across scan |
| Dense vegetation | Learned segmentation with multimodal input | Geometry alone is ambiguous |
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.