Alignment: merging in two windows
Shows the moving item in View 2 and the reference item in View 3 separately; merges them by clicking corresponding points and / or with ICP. An item can be a cloud, a flight line or a 3D model (OBJ).
In the app: Processing › Alignment › Rough alignment (point pairs)… / ICP — fine alignment…
What does it do?
Choosing Rough alignment (point pairs)… or ICP — fine alignment… under Processing → Alignment opens three windows and the Alignment — point pairs in two windows panel. View 2 shows the moving item and View 3 the reference item on its own, each with its own camera; the data is rotated and panned according to the selected mouse mode. Data in the header redraws the item with the current detail.
An item can be a point cloud, a flight line of a cloud (Point Source ID) or a 3D model (OBJ); cloud ↔ model and model ↔ cloud are merged too (the model is also rotated and moved). Click a point in View 2 and its counterpart in View 3; the order is free and the numbers appear in both windows and in View 1. Clicking the same window again replaces the point of the half pair.
With at least 3 pairs, Merge computes a rigid transform (optionally with scale), writes the residual per pair to the table and shows the residual RMS, the largest residual and the 4×4 matrix in a result window; when confirmed it is applied to the moving item. With Then refine with ICP ticked, ICP runs after the pairs; without pairs ICP starts from the items' current position. If a flight line is moving, only that line's points move; ICP for a line is done only against another line of the same cloud. When the panel closes, the windows return to the previous layout.
How to use it
- 1With at least two items (cloud, line or 3D model) whose detail is ready, choose Processing → Alignment → Rough alignment (point pairs)… or ICP — fine alignment….
- 2In the panel choose the Moving (View 2) and Reference (View 3) items.
- 3Click a point in View 2 and its counterpart in View 3; collect at least 3 pairs that are far apart and not on one line.
- 4Tick Also compute scale and Then refine with ICP if needed; choose the ICP method and maximum distance.
- 5Press Merge, check the residuals in the result window and confirm.
- 6Make the result permanent with Save at the top right (Ctrl+S); for a file use Save transformed copy….
Parameters
| Setting | What it does | Default |
|---|---|---|
| Moving (View 2): / Reference (View 3): | Cloud, flight line or 3D model; the two cannot be the same. | First two items |
| #, Moving (X Y Z), Reference (X Y Z), Residual (m) | Pair table; residuals are filled after Merge. | – |
| Also compute scale (Umeyama) | If the moving item has a different scale (e.g. a photogrammetry model). | Off |
| Then refine with ICP | ICP after the pairs (or without pairs); ticked when opened from the ICP command. | On when opened with ICP |
| ICP: Point-to-plane; Point-to-point | ICP method. | Point-to-plane |
| maximum distance | Points farther than this are not matched; 0.05–100 m. | 2.00 m |
| Ground only (class 2) | Only ground points are used in clouds (not for a 3D model). | Off |
| Delete the last point, Clear, Undo last merge | Removes the last click, all pairs, or the last applied merge. | – |
Outputs
- Transform applied to the moving item (in memory; undone from the panel or with Tools → Editing → Undo)
- Alignment — result / ICP — result windows: pair count, residual RMS, largest residual, translation, rotation, 4×4 matrix
- Permanent transform with Save (Ctrl+S); for a 3D model it is stored in the model cache
Tips
- Good points: building corners, pole bases, road markings; zoom in before clicking.
- In ICP the iteration count (50), RMS change threshold, overlap (90 %) and subsampling (200,000 / 1,000,000 points) are defaults.
- On a “no common surface” warning, merge with point pairs first.
- To align two flight lines of one cloud with ICP you can also use Processing → Alignment → ICP — between lines (same cloud)….
Image from the app
