Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Measuring the world with laser pulses
A LiDAR fires short laser pulses and times how long each takes to bounce back. Light travels 30 cm per nanosecond, so the round-trip time gives the distance very precisely. Sweeping the beams around gives hundreds of thousands of 3-D points per second: a point cloud. Unlike a photo, every point has a true distance, but there is no grid and no colour, and far objects get only a few points. A basic job is to line up two scans taken from different places by finding the rotation and shift that make them overlap; the demo runs this alignment (ICP) step by step.
Self-driving cars, Mars and lunar landers, forest-biomass missions such as GEDI and ice-sheet altimetry with ICESat-2 all rely on LiDAR point clouds.
- 1. LiDAR measures distance from…
- 2. A point cloud is…
- 3. ICP aligns two scans by finding…
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.By hand
- Ranging: pulsed time of flight R = c Δt / 2 (1 m per 6.67 ns); FMCW LiDAR mixes the return with a chirp and reads range from the beat frequency (R = c f_b / 2S) and radial velocity from the Doppler shift (Aeva, Aurora). Wavelengths 905 nm (silicon detectors) or 1550 nm (eye-safe at higher power).
- Scanning: spinning multi-beam sensors (Velodyne HDL-64 in the 2007 DARPA Urban Challenge; Ouster, Hesai: 32–128 channels, 10–20 Hz), MEMS and flash solid-state sensors, Livox non-repetitive patterns. Airborne laser scanning maps terrain under vegetation from multiple returns; spaceborne lidars measure ice (ICESat-2, photon counting, 2018) and forest height (GEDI on the ISS, 2018).
- Properties: beam divergence sets the footprint (range × divergence); angular resolution sets point spacing (range × step), so density falls with range²; dark, wet or specular surfaces return little; rain, fog and dust add spurious points; motion during a sweep distorts the scan (deskewing with IMU or ICP).
- Representations: raw points (PCD, LAS/LAZ), organised range images, voxel grids and octrees (OctoMap), bird’s-eye-view pillars, meshes. Libraries: Open3D, PCL, PDAL, laspy.
- Processing: voxel downsampling, statistical outlier removal, normals and curvature from PCA of k neighbours (k-d trees), ground segmentation (RANSAC plane, cloth simulation filter), Euclidean clustering or DBSCAN for objects.
- Registration: ICP (Besl and McKay, 1992; Chen and Medioni, 1991, point-to-plane), generalised ICP (Segal et al., 2009), NDT (Biber and Straßer, 2003), global initialisation with FPFH features and RANSAC (Rusu, 2009) or TEASER++ (2020); LiDAR odometry with LOAM (Zhang and Singh, 2014) and KISS-ICP (2023).
- Deep learning: PointNet (2017) and PointNet++, VoxelNet (2018), PointPillars (2019), CenterPoint (2021) for 3-D detection; Point Transformer V3 (2024) and Sonata (2025) for segmentation and self-supervised features. Benchmarks: KITTI, nuScenes, Waymo Open, SemanticKITTI.
- 1. Round-trip time for 1 m of range:
- 2. FMCW LiDAR also measures…
- 3. Point-to-plane ICP was introduced by…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 25 minUndergraduate students and practising engineers.Processing and aligning point clouds
Exercise 1.
- Voxel downsampling.
- Normals and surface variation by PCA.
- The best rigid transform from paired points (Kabsch).
- A RANSAC ground plane.
Practice.
- Load with Open3D or laspy; voxel-downsample before anything expensive and estimate normals with a radius matched to the point spacing.
- Remove the ground with RANSAC or a cloth filter, then cluster the rest (DBSCAN) for objects.
- Register with point-to-plane ICP or GICP from a good initial guess (odometry, GNSS-INS); without one, use FPFH + RANSAC or TEASER++ first.
- Check registration with fitness (overlap share) and inlier RMSE, not iteration counts.
- For detection or segmentation start from OpenPCDet or Pointcept models (CenterPoint, PTv3) pretrained on nuScenes or Waymo, and fine-tune on your sensor.
import open3d as o3d, numpy as np
src = o3d.io.read_point_cloud("scan_001.pcd").voxel_down_sample(0.1)
tgt = o3d.io.read_point_cloud("scan_002.pcd").voxel_down_sample(0.1)
for pc in (src, tgt): pc.estimate_normals(o3d.geometry.KDTreeSearchParamHybrid(radius=0.5, max_nn=30))
plane, ground = tgt.segment_plane(distance_threshold=0.1, ransac_n=3, num_iterations=500)
reg = o3d.pipelines.registration.registration_icp(src, tgt, 1.0, np.eye(4),
o3d.pipelines.registration.TransformationEstimationPointToPlane())
print(plane, len(ground), reg.fitness, reg.inlier_rmse); print(reg.transformation)- 1. Registration quality is best checked with…
- 2. Without an initial guess, ICP should be preceded by…
- 3. A common library for point clouds in Python:
Level 3: Advanced
★★★★☆ Advanced⏱ 25 minGraduate level, with full derivations and proofs.Theory
The rigid fit. For paired points, minimising Σ‖R aᵢ + t − bᵢ‖² gives t = b̄ − R ā, and R maximises tr(Rᵀ Σ (bᵢ − b̄)(aᵢ − ā)ᵀ). With the SVD H = Σ (aᵢ − ā)(bᵢ − b̄)ᵀ = U S Vᵀ, the optimum is R = V diag(1, 1, det(VUᵀ)) Uᵀ (Arun et al., 1987; Umeyama, 1991); the determinant term prevents reflections.
ICP as alternating minimisation. ICP alternates nearest-neighbour correspondences with the best transform for them. Each step does not increase the mean squared distance, so ICP converges, but only to a local minimum: if the initial rotation is large, the first correspondences pair the wrong walls and the iteration settles there.
Point-to-plane. Two scans never sample the same physical points, so point-to-point distances stay large along surfaces and pull the solution in arbitrary tangential directions; convergence along planes is slow. Point-to-plane minimises Σ ((R pᵢ + t − qᵢ) · nᵢ)², which lets points slide along the surface. Linearised for small rotations ω, each residual is (pᵢ × nᵢ) · ω + nᵢ · t − (qᵢ − pᵢ) · nᵢ, a 6-unknown linear least-squares problem, and convergence is close to Gauss–Newton (quadratic near the solution).
Degeneracy. A long corridor or flat ground does not constrain motion along it; the 6 × 6 normal matrix of point-to-plane ICP is then nearly singular, which LiDAR odometry systems detect from its eigenvalues.
- 1. The determinant term in the Kabsch solution prevents…
- 2. ICP converges to…
- 3. Point-to-plane ICP lets points…
Level 4: Expert
★★★★★ Expert⏱ 30 minResearchers: original papers and open problems.How do point-to-point and point-to-plane ICP compare in accuracy, speed and basin of convergence, and what does a coarse global search add?
History.
- P. Besl and N. McKay, “A method for registration of 3-D shapes” (1992); Y. Chen and G. Medioni, “Object modelling by registration of multiple range images” (1991).
- K. S. Arun, T. Huang and S. Blostein, “Least-squares fitting of two 3-D point sets” (1987).
- A. Segal, D. Haehnel and S. Thrun, “Generalized-ICP” (2009); J. Zhang and S. Singh, “LOAM” (2014).
- C. Qi et al., “PointNet” (2017); A. Lang et al., “PointPillars” (2019); I. Vizzo et al., “KISS-ICP” (2023).
Exercise 2. A street corner: ground (10 × 8 m), two 3 m walls, a 1.5 × 1 × 1 m box and a pole. The target scan has 600 points and the source scan 300 independently sampled points, both with 2 cm noise. The source is offset by a yaw of ±5°, ±30° or ±60°, a random 1° tilt and about 0.3 m of translation; 6 trials each.
- Methods: point-to-point ICP (Kabsch at each step) and point-to-plane ICP (linearised least squares, normals by PCA of 10 neighbours), at most 30 iterations. At 60° also point-to-plane after a coarse search: 8 runs of 8 iterations from headings 45° apart, keeping the lowest residual, then refined.
- Measures: success (rotation error under 1° and translation error under 10 cm), median rotation and translation error, median iterations.
| initial yaw | method | success | rotation error (°) | translation error (m) | iterations |
|---|---|---|---|---|---|
| 5° | point-to-point | 0.667 | 0.693 | 0.055 | 18 |
| 5° | point-to-plane | 1.0 | 0.254 | 0.018 | 7.5 |
| 30° | point-to-point | 0.5 | 0.867 | 0.055 | 28 |
| 30° | point-to-plane | 1.0 | 0.294 | 0.021 | 9 |
| 60° | point-to-point | 0.0 | 74.037 | 1.904 | 30 |
| 60° | point-to-plane | 0.0 | 87.58 | 2.169 | 30 |
| 60° | 8-heading search + point-to-plane | 1.0 | 0.407 | 0.016 | 66.5 |
- Point-to-plane was faster and more accurate: about 8 iterations against 18–28, and rotation errors of 0.25–0.33° against 0.62–0.75° at 5° on the three seeds. Point-to-point often stalled at the 30-iteration cap with errors near the 1° threshold (success at 5°: 0.667, 0.833 and 1.0 on seeds 0, 1 and 2).
- ICP is local: from 60° both methods failed on 17 of 18 point-to-plane runs and all 18 point-to-point runs across seeds, with median rotation errors of 72–89°, converging where walls are matched to the wrong walls.
- A coarse global search fixed it: 8 short runs from different headings succeeded on every trial and seed (median rotation error 0.407°, 0.307° and 0.356°), at about 66 iterations instead of 8–30.
- Caveat: small synthetic scans, brute-force neighbours, no outlier rejection or motion distortion; real pipelines use k-d trees, robust kernels and odometry priors.
Point clouds and LiDAR in AI, robotics and aerospace
- Autonomous driving and robotics: LiDAR odometry (KISS-ICP, LIO-SAM, FAST-LIO2) and 3-D detectors (CenterPoint, PointPillars) run on 10–20 Hz scans; registration against prior maps gives centimetre-level localisation.
- Planetary landing: hazard-detection lidars map the landing zone during descent; OSIRIS-REx used its laser altimeter (OLA) to map asteroid Bennu, and lunar landers use lidar for terrain-relative navigation.
- Earth observation: ICESat-2 tracks ice-sheet elevation change to centimetres per year; GEDI’s waveforms measure canopy height and biomass; airborne laser scanning produces national elevation models.
References
- P. J. Besl and N. D. McKay (1992). “A method for registration of 3-D shapes.” IEEE TPAMI.
- Y. Chen and G. Medioni (1991). “Object modelling by registration of multiple range images.” ICRA.
- A. Segal, D. Haehnel and S. Thrun (2009). “Generalized-ICP.” RSS.
- J. Zhang and S. Singh (2014). “LOAM: lidar odometry and mapping in real-time.” RSS.
- I. Vizzo et al. (2023). “KISS-ICP: in defense of point-to-point ICP – simple, accurate, and robust registration if done the right way.” IEEE RA-L.
- A. H. Lang et al. (2019). “PointPillars: fast encoders for object detection from point clouds.” CVPR.
- X. Wu et al. (2024). “Point Transformer V3: simpler, faster, stronger.” CVPR.