TwinPointBeta/Free tools/Combine scan data/How to use it

How to use Combine scan data

The steps from your scans in PCS to one 3DGS, then what the tool does with your scans along the way.

How to use it

  1. In PCS, process each scan with Distorted Image Correction turned on (under Output Results).
  2. In PCS, merge the scans with Point Cloud Merge.
  3. In this tool, choose your project folder: the folder named after your PCS project.
  4. Pick your merged point cloud from the list and click Continue. The tool shows the scans it found in it.
  5. Click Combine scan data. Keep the tab open, and your computer awake, until it finishes.
  6. In PCS, open Data Processing, click Add Data and choose the output folder inside the new folder (for example My House › Combined scans › output). Select the new task, set the 3DGS parameters and click Start Processing.

The problem it solves

SHARE PointClouds Studio (PCS) makes a 3DGS from one scan's output folder. That folder holds the scan's photos, where each photo was taken, the path the scanner walked and the point cloud, all in that scan's own position and on its own clock.

When you merge several scans with Point Cloud Merge, PCS moves and turns each scan into one shared position, but it only saves the points. It doesn't save how each scan was moved, and it leaves the photos and paths behind. So the tool first works out how each scan was moved, then rebuilds one new folder with everything in the merged position and on one clock. It only reads your scans and your merged point cloud; it never changes them.

The tool is made for SHARE PointClouds Studio 2.7. The folder it writes follows the layout PCS 2.7 makes and reads, including the original fisheye photos and the uncolorized point cloud that PCS 2.7 uses to line up the photos before a 3DGS. Other versions of PCS may lay out their folders differently.

How your folders are laid out

The tool works best with the standard layout SHARE PointClouds Studio creates, where your scans and the merged point cloud are all in the project folder:

  • Project folderChoose this folder
    • Scan 1
      • output
        • Scan 1_colorized.las
        • Scan 1_uncolorized.las
        • trajectory.txt
        • result_info.json
        • images
          • left
          • left_mask
          • right
          • right_mask
          • ImgPose.txt
          • Left.opt
          • Right.opt
        • undistort
          • left
          • left_mask
          • right
          • right_mask
          • ImgPose.txt
          • Left_undistort.opt
          • left_undistort_intrinsic.txt
          • Right_undistort.opt
          • right_undistort_intrinsic.txt
          • TransformedCam.json
    • Scan 2
      • outputsame files as Scan 1
    • Pointclouds_merged.lasyour merged point cloud

Your folders don't have to match it exactly. If the tool doesn't list your merged point cloud, use “Not in the list? Browse your computer” to find it.

1. Find your scans in the merged point cloud

The scanner stamps every point with the exact time it was recorded, and PCS keeps those time stamps through registration and merging. The tool reads a sample of the merged point cloud and, for each scan folder, looks for points with the same time stamps in the same order. A scan whose time stamps aren't there isn't part of this merge, and is left out.

2. Work out how each scan was moved

Every match from step 1 is the same point twice: where it sits in the scan, and where it sits in the merged point cloud. From thousands of these pairs, the tool finds the one move and turn they all agree on, with no stretching. It ignores pairs that don't fit, then fine-tunes the answer on the pairs that do. On our test projects, every scan lands exactly where the merge put it, down to the smallest step a point cloud file can store (0.1 mm). If there's no clear answer, the tool says so instead of guessing.

3. Put the scans on one timeline

PCS expects one continuous recording, but every scan has its own clock, and the scanner's clock restarts each time it's turned on, so two scans can share the same times. The tool puts the scans in the order you recorded them, then shifts each scan's times so it starts 30 seconds after the previous scan ends. Everything in that scan (photos, path and points) gets the same shift.

4. Write the combined output folder

For each scan, using its move from step 2 and its time shift from step 3:

  • Photos: the left and right photos and their masks are copied and renumbered, so each scan's numbers carry on from the scan before it. Both the corrected photos and the original fisheye photos are copied, which is why the tool needs about as much free space as your scans' photos.
  • Photo positions: where each photo was taken, and which way the camera faced, is moved and turned into the merged position.
  • Scanner path: every point along the path the scanner walked is moved and turned the same way, and the scans' paths are joined end to end into one path.
  • Point cloud: every point is moved and turned and written into one point cloud, keeping its colour and brightness and a tag for the scan it came from. It's built from your scans rather than copied from the merged point cloud, because every point's time has to change to match the one timeline. The points end up in the same places either way. If you clipped or cleaned up your merged point cloud in PCS, that isn't carried over: the new point cloud has every point from your scans.
  • Camera settings: the lens settings are taken from the first scan, so all the scans need to come from the same scanner.
  • Project file: the file PCS reads to recognise the folder, with the combined photo count and recording time.

5. Check the result

Before it finishes, the tool checks that each scan's photo positions still line up with its scanner path after the move, and that time only runs forward across the whole folder. If either check fails, it stops with a message instead of leaving you a folder that would make a bad 3DGS.

What your computer needs for the 3DGS

This tool only gets the data ready. PCS still makes the 3DGS on your computer, so PCS's own computer requirements still apply. The SHARE PointClouds Studio guide recommends:

  • an NVIDIA RTX 3060 or better graphics card, with at least 12 GB of its own memory (VRAM) for 3D Gaussian mapping
  • 64 GB of RAM or more
  • at least 100 GB of free disk space
  • Windows 11, 64-bit

Combined scan data is bigger than any one of your scans, so making its 3DGS takes more graphics memory, RAM and time than a single scan does. If PCS runs out of graphics memory, combine fewer scans, or use a computer with a graphics card that has more memory.