Orient cloud

Digi21 · Extension for Lot Of Points · lop.orientation

Orients a point cloud with control points using a 7-parameter similarity transformation.

The Orient cloud command, in the Utilities tab, orients a point cloud with control points, like the absolute orientation of Digi3D.

  • It reads the coordinates of the control points from a text file (nombre,x,y,z) and the user measures each point on the cloud.
  • It calculates a 7-parameter similarity transformation (scale, three rotations and three translations) by least squares and shows the residuals of each point.
  • It applies the transformation to the cloud and saves it next to the cloud, with the coordinate reference system of the control points.

Orient cloud

Instructions

Install the extension from the Lot Of Points store: open the Store panel on the right edge of the window, find the extension and click Install. Restart Lot Of Points: lop loads the extension at the next startup.

Requirements

  • Lot Of Points 1.0.29 or later.
  • License of the lop.orientation module activated on the computer. Without a license, click Request a demo on the extension page (7 days).
  • An open local cloud.
  • A text file with one control point per line: name, X, Y, Z and optional description, separated by spaces, tabs, commas, semicolons or =; coordinates with a decimal point and names without repeats.
  • At least 3 enabled control points measured on the cloud, not collinear.

Where to find the command

Tab Utilities, section Orientation, button Orient cloud. The command opens the Orientation panel.

Steps

  1. Choose the cloud in the Cloud drop-down list of the panel.
  2. Click Load and choose the control points file. Click Coordinate system and choose the system of those coordinates.
  3. Measure each point: select its row, click Identify and click the point in the cloud (Esc cancels). Identify unmeasured repeats this for each enabled point without a measurement. Import reads measurements from a file with the same format (document coordinates).
  4. Review the columns Residual X, Residual Y, Residual Z and 3D residual norm. Largest residual selects the enabled point with the largest 3D residual. Enable or disable excludes the selected point from the calculation if it is enabled and includes it again if it is disabled. Delete removes the measurement of the selected point.
  5. Click Apply and accept Change in the confirmation dialog.

Results

  • Apply saves the 7-parameter similarity transformation (computed by least squares) and the chosen coordinate system in the .transform.json of the cloud; the cloud file is not modified. lop creates the level of detail again, reopens the document and finishes the command.
  • The command saves the session (points, measurements and the previous transformation) in orientation.json, in the extension data folder of the cloud.
  • Click Restore to go back to the previous transformation.

Common problems

  • "There is no open local cloud."
  • "At least 3 enabled and identified points are needed; there are N."
  • "The enabled and identified points are collinear, coincident or have non-finite coordinates: the orientation cannot be calculated."
  • "The coordinate system of the control points is not chosen."
  • "Orientation: … contains no valid control point and the session is unchanged." The discarded lines appear in Output.

Versions

1.0.0 released on

Requires Lot Of Points 1.0.29 or later.

First version