Quality-based filtering of Automatic Tie Points after calibration, so that reoptimization runs on clean observations only

Hi PIX4D team, hi community,

thanks for adding the ATP reprojection error, median keypoints per image and median matches per calibrated image to the quality report in the new 2.13.0 preview from today! :heart_eyes: Together with the new matching strategy options (geometrically verified, image pairs by capture time, GPS, tie points, pre-matching) this gives a lot more control over what goes into the calibration.

What’s still missing is control over what stays in it. I can now see the ATP reprojection error, but I can’t act on it. Poorly localized points, false matches and points with weak ray geometry remain part of the bundle adjustment.

The established approach:

In Agisoft Metashape this step is part of the standard workflow (Gradual Selection, in newer versions “Clean Tie Points”). After alignment, tie points are selected by a quality criterion, deleted, and the camera alignment is optimized again. The three criteria that matter:

  1. Reprojection error: high values usually indicate poor localization of the projections or false matches. Agisoft’s own manual states that removing these points can improve the accuracy of the subsequent optimization.
  2. Reconstruction uncertainty: typical for points triangulated from nearby images with a small baseline. They can deviate noticeably from the surface.
  3. Projection accuracy: filters points whose projections were localized less precisely because they were detected at a larger keypoint scale.

The USGS has built a documented workflow on exactly these three filters (Over et al. 2021, Open-File Report 2021-1039), applied iteratively with a camera optimization after each step and only a limited share of points removed per pass. Their stated goal: improving camera lens models and camera position estimates. Whether this worked is then checked against independent checkpoints.

Request:

  1. ATP filters after Calibration / Reoptimize
    • Reprojection error (px)
    • Reconstruction uncertainty or a comparable measure of ray geometry / intersection angle
    • Projection accuracy or a comparable measure of keypoint localization
  2. Real-time thresholds
    • One slider per criterion, live count of affected points and highlight in the 3D view
    • The value histograms added in 2.12 for DSM/ortho would fit here
  3. Reoptimize on the filtered set
    • Filtered ATPs are excluded, reoptimization runs on the remaining ATPs plus MTPs and GCPs
    • Quality report shows before/after: number of ATPs, reprojection error, GCP/CP RMSE, change in camera positions and internals
  4. Optional: filtering as part of the calibration template
    • e.g. “remove ATPs above x px reprojection error and reoptimize, n iterations, max y % per iteration”
    • Useful for repeat flights, batch and cloud processing

Why not just adding MTPs instead?

MTPs are useful, but they solve a different problem. They add new, manually verified observations, mostly to fix local misalignments or connect blocks. They don’t remove the faulty automatic observations that are already in the adjustment. A filter works on all ATPs at once, takes seconds instead of a manual marking session, and gives a reproducible, reportable result. Ideally both are available and complement each other.

Why it matters:

  • Cleaner bundle adjustment as the base for every following step: dense cloud, mesh, DSM, orthomosaic
  • Verifiable improvement via checkpoints, documented in the quality report
  • Less manual MTP work on standard projects
  • Today this is a reason to run the alignment in another software and import the result into PIX4Dmatic afterwards

To the community:

I’ve been asking the PIX4D developers for this for quite a while now. If you work on survey-grade projects and miss this step as well, please upvote and add your use case in the comments. The more concrete examples, the better the chances this gets prioritized.

Happy to share test datasets.

Manuel Allinger

Octacon Geotechnik GmbH, Berlin

@Rhea_Garratt @Pierangelo_Rothenbuhler @andrea.dotti @alexey.gribovskiy