Structure from motion — study guide
The concept's fragments, read in order.
Shape and cameras from the photos themselves
A mapping flight comes home with a couple of hundred overlapping photos and no shape of the ground at all. Structure from motion is how photogrammetry software gets the shape back. It finds the same small spots in many photos, and from where each spot falls in each frame it works out, all at once, where every camera was and which way it pointed, how the lens bends the light, and where every spot sits in three dimensions. The name describes the trick: the structure of the ground comes out of the motion of the camera between shots.
The pilot never sees the arithmetic and does not need to. What the pilot needs is a working picture of the steps, because each one fails in its own way, and the failures surface later as a map that looks fine and measures wrong.
Matching finds spots that look alike in two photos. The solve turns matches into cameras and points and adjusts everything together until it agrees. The lens is treated as one more unknown. The matched spots that survive, called tie points, form a sparse cloud that is the first thing to inspect. Ground control and RTK camera positions then put the whole solution in the right place at the right size.
The same picture explains what makes a solution weak: too little overlap, water, blank or repeating ground, things that move, and a block of straight-down photos that can bend without complaint. The evidence of all of it lands in the processing report. Building the dense point cloud from the solved cameras, and turning checkpoint errors into an accuracy statement, are separate steps that come after. The checks quoted here come from the positional accuracy standard of the American Society for Photogrammetry and Remote Sensing (ASPRS), the standard commonly used to specify mapping accuracy in the United States; other countries have their own standards, datums and rules.
Finding the same spot in two photos
Software does not match whole photos. It matches small spots. A keypoint is a spot that stands out from its surroundings in a way that can be found again: the corner of a curb, a stone, the crossing of two tire tracks. Detectors search each photo at several scales, so the same spot is found whether it covers four pixels or forty, and they record it in a form that survives the photo being turned. The ASPRS guidance for drone mapping describes the software collecting thousands of these keypoints.
Each keypoint gets a descriptor, a list of numbers that summarizes the pattern of light and dark around it. Matching compares descriptors: for a keypoint in one photo, the software looks for the keypoint in another photo whose numbers are closest. Closest is not enough when two candidates are almost equally close, so a common test, published with one widely used method in 2004, keeps a match only if the best candidate is clearly better than the runner-up.
Appearance still lets some wrong matches through, so the matches between each pair of photos are checked against geometry. Two photos of one fixed scene, taken from two positions, obey a single consistent relationship, and every true match fits it. The software repeatedly picks a few matches at random, works out the camera motion they imply, and keeps the motion the most matches agree with, a method called RANSAC (random sample consensus); matches that disagree are discarded as outliers. A pair of photos with too few survivors is treated as not overlapping at all.
That is why false matches are the enemy, and why the ground needs texture. One wrong match is thrown out. A cluster of wrong matches that happen to agree with each other can pass every test and quietly pull the solution out of shape.
Cameras, lens and points, solved at once
A matched spot gives a direction from each camera that saw it. If the cameras' positions and angles were known, the spot would sit where those lines of sight cross like judging how far away something is with two eyes: each eye sees it in a slightly different direction, and it sits where those two directions cross, a step called triangulation. If enough spots were already placed in three dimensions, each camera's position and angle could be worked out from where those spots fall in its photo. At the start the software knows neither, so it bootstraps.
In practice the software places a first pair of photos, adds the rest one at a time, and keeps re-adjusting the whole set as it goes, because small errors would otherwise pile up along the chain.
The refinement is bundle adjustment, named for the bundle of lines of sight leaving each camera. It adjusts every camera position and angle, the lens model and every 3D point together, until each point, projected back into each photo that saw it, lands as close as possible to where the feature was actually found. The leftover miss, measured in pixels in the photo, is the reprojection error. The ASPRS guidance asks for the root-mean-square of those image misses to be within 1 pixel, which on the grading job's photos is ground about 2.5 cm (an inch) across.
Solving everything together is what makes the method strong, and what makes it hard to second-guess. A camera's error and a point's error can trade against each other, so the adjustment spreads any disagreement wherever it fits best. A small reprojection error says the photos agree with the solution. It does not say the solution has the right shape, or sits in the right place.
The lens is one of the unknowns
The lens is in the adjustment too. The software starts from the focal length recorded in each photo's file and a nominal image center, then estimates, from the job's own photos, the true focal length (the lens-to-sensor distance the geometry actually behaves as), the principal point (where the lens axis really meets the sensor) and the distortion coefficients. This is self-calibration. The ASPRS guidance highly recommends it for drone cameras, which are not built as stable measuring instruments, and it works because every tie point in every photo carries a little evidence about a lens that is the same in every frame.
Self-calibration has a blind spot. Seen from straight above, a slightly longer focal length and a slightly greater height give almost the same photo, because the size of the ground in the frame depends on height divided by focal length, and both can change in the same proportion. When every photo looks straight down from one height over fairly level ground, the photos cannot tell the two apart. Pin the cameras' heights with RTK positions and the trade moves into the ground instead: a focal length a little wrong becomes a surface a little too high or too low everywhere.
A 2021 study of drone blocks controlled only by RTK camera positions found exactly that: systematic height errors of up to several decimeters, rising in step with how far the solved focal length strayed from its true value. The cure was more geometry. Adding a flight at the same height with the camera tilted away from straight down cut the systematic error to under 3 cm. The ASPRS guidance turns the same lesson into a processing rule: let the software adjust focal length only when the flight includes lines at more than one height, especially over flat terrain.
Ground control breaks the tie from below, because a surveyed mark fixes the height the lens model is trying to trade away. The processing report shows the initial and the optimized lens values side by side. A large change in focal length is not proof of trouble, but it is the first place to look when the heights disagree with the checkpoints.
Tie points and the sparse cloud
A tie point is one spot on the ground that the solve has placed in three dimensions, together with its list of observations: which photos saw it, and where in each. Matching may find thousands of candidate spots in every photo; the tie points are the ones that survived matching, the geometric check and the adjustment, and on a drone survey they often number in the tens of thousands.
The number of photos behind a tie point is its track length. A point seen in only two photos hangs on a single pair of lines of sight and has nothing to check it against. A point seen in eight or ten is held from many directions, and one bad observation among them stands out. At the grading job's 75 percent forward and 70 percent side overlap, a spot in the interior of the site is seen in a dozen or more photos.
All the tie points together make the sparse cloud: a thin scatter of points shaped like the site. It is the solver's skeleton and the first thing to look at after processing. Gaps where there should be ground, a patch sitting above or below its neighbors, a smear of points along the tree line, or a cloud that sags or bulges where the site is level each point at a particular failure. The dense point cloud that most deliverables are built from comes later, computed from the solved cameras, and it can be no better than this skeleton.
One property of the sparse cloud surprises people. Built from photos alone, it has the right shape but no particular place, size or direction like a jigsaw puzzle put together on a blank floor with no picture on the box: the pieces lock into the right shape, but nothing says which way is up, where it belongs, or how big the real scene was. Nothing inside the photos says whether the site is 400 m across or 40, which way is north, or how high it sits; the same matches fit the model equally well shifted, turned, or scaled up or down.
Pinning the block to the Earth
Place, size and direction have to come from outside the photos, and on a drone survey three things can supply them. The positions an ordinary navigation receiver writes into each photo are off by meters, enough to put the block in roughly the right field and no more. RTK or PPK camera positions, corrected against a base station or a correction network, are good to centimeters and can hold the block on their own. Ground control points (GCPs), surveyed targets clicked in the photos, sit on the very ground the map is about.
In the adjustment each of these is an observation with a stated accuracy, not a command. The ASPRS guidance recommends setting each photo position's expected error from its published accuracy, then checking afterwards: GCP residuals should be consistent with how accurately the marks were surveyed, and camera-position residuals should not exceed three times the errors that were set. Weight the camera positions as better than they are and the block is bent to fit them; weight them as worse and they stop helping. The guidance also recommends a first, unconstrained run to expose bad control, wrong camera positions or a datum mix-up before anything is held fixed.
Camera positions and ground marks cover different weaknesses. RTK camera positions hold the block's shape and place across its whole area, but in a block of straight-down photos they leave the focal length and the height free to trade against each other. A GCP pins the surface itself. In a 2018 test over one test field, repeated over eight flights, the surface model's heights at the checkpoints were off by about 3.7 times the pixel size on average with camera positions alone, and by about 2.1 times once a single GCP was added, as good as a block controlled by GCPs alone. The ASPRS guidance recommends surveyed GCPs even when the aircraft carries RTK.
The grading job uses both: RTK camera positions from a correction network, and five GCPs, one near each corner and one in the middle, all in the coordinates the client asked for (NAD 83 (2011) State Plane, with NAVD 88 elevations). Its 30 checkpoints are clicked in the photos exactly like the GCPs and then flagged so the adjustment ignores them; their only job is to measure the miss afterwards. Leave one flagged as control by mistake and the test silently loses a question.
Where matching breaks down
The whole solve rests on finding the same fixed spot in several photos. Anything that removes spots, fakes them or moves them weakens the solution where it happens, and the damage is local: the rest of the map can be excellent while one corner is not.
Too little overlap is the plainest case. A spot seen in only two photos is placed by one pair of lines of sight with nothing to check it, and a photo that shares too few matches with its neighbors is left out or attached loosely; the outer edge of any flight, where fewer photos overlap, is always the thinnest part of the solution. Blank ground gives the detectors nothing to find. The ASPRS guidance names homogeneous surfaces such as new asphalt with no paint and bodies of water, dense foliage, and long shadows that leave large empty patches. Water is worse than blank, because its surface changes between photos and throws back sun glint; a 2022 study called matching over it almost impossible.
Repeating texture fails the opposite way, by offering too many candidates like picking one twin out of a crowd of identical twins from a description of their face: the description is accurate, and it fits too many people. Crop rows, rows of identical roof panels and yards of identical pavers produce spots that look exactly like their neighbors. The matching test that refuses a spot when a second candidate looks nearly as good throws many of them out, but the ones that slip through can agree with each other well enough to pass the geometric check, and a 2014 study of repeated structures found the result is cameras and points placed in the wrong position.
Things that move break the assumption the method stands on, that the scene held still while the camera moved. A truck on the road, a person walking, a loader working a stockpile, branches in the wind and shadows that shift during a long flight all appear in different places in different photos; a 2025 paper put it plainly that moving objects do not give consistent matches and cause errors in the camera positions and the reconstruction. On the grading job the risks are known before takeoff: the tree line along the west edge, traffic on the public road along the south edge, and any equipment working the stockpiles, which is a good reason to fly while the yard is quiet.
A grid of straight-down photos can bend
The most dangerous weakness raises no warning. Survey flights are usually one grid of parallel lines with the camera pointing straight down, because that pattern covers ground efficiently. A 2014 study showed that this pattern, processed with self-calibration, tends to get the lens's radial distortion slightly wrong, and that the wrong estimate shows up as a broad, smooth bowing of the whole surface, called doming. The same study found the size of the dome tied in a straight line to the radial distortion.
Doming is hard to catch because the photos still agree with the solution. A small distortion error plus a gently curved ground explains the matched spots about as well as the true lens plus the true ground, so the reprojection error stays small and the sparse cloud looks clean. A 2017 study made the point directly: errors such as doming cannot be detected in the image residuals. The surface simply comes out bowed, on a site whose contours and stockpile volumes depend on getting the heights right.
The remedies all add the geometry a parallel grid lacks. Photos tilted away from straight down, converging on the same ground from different directions, pin the lens much better; in the 2014 simulations, adding oblique photos cut the height error by up to two orders of magnitude even with no ground control. Lines flown at a second height help too, and the ASPRS guidance asks for more than one flying height over flat terrain. Ground control alone does not always remove a dome, since the same 2017 study still found doming with control in place until oblique photos were added; but control and checkpoints spread through the interior, not only around the edges, are what reveal one, because a dome is largest away from the marks that hold its rim.
The grading job is flown in exactly the risky pattern: eleven parallel lines, every photo straight down, at one height above the ground. Its defenses are a GCP in the middle of the site as well as at the corners, and 30 checkpoints spread across the interior. The site's 14 m (46 ft) of relief helps less than it seems, because the mission follows the terrain and keeps every photo about 91 m above the ground beneath it. With one flying height, the ASPRS guidance would not let the software adjust the focal length freely; if it is left free, the GCP in the middle and the interior checkpoints are what show whether it traded focal length for height. Had the checkpoints in the middle come back consistently high or low against those near the edges, the cure would have been a few oblique passes over the site, not more processing.
Reading the processing report
Photogrammetry software ends the alignment step with a processing report, and the report is where a weak solution shows itself before anything is built on it. The ASPRS guidance expects these results in the project's report and metadata. Read it in the order the solve happened.
First, how many photos were placed out of how many were taken. On the grading job that should be all of the roughly 250; a photo left out marks a place where matching failed, usually at an edge, over the trees or where something moved. Next, matches per photo and how evenly they spread across each frame; one open-source project's documentation suggests that even the weakest photo should have more than about 50 features used in the solution, a rule of thumb rather than a standard. Then track length and the map of how many photos see each part of the site, where the same documentation suggests aiming for most of the area to be covered by 5 or more.
Then the solution's own consistency. The ASPRS guidance asks for the root-mean-square of the image residuals to be within 1 pixel, for the residuals to point in random directions rather than all one way, and for no gaps in tie-point coverage. The lens values appear as initial and optimized; a large change in focal length deserves a question. The camera-position residuals show how far the solve moved each RTK position, and the guidance says those changes should be in line with the positions' expected accuracy; a systematic shift that follows the direction of flight is a sign of a timing error between the shutter and the receiver.
Last come the ground marks, and the two kinds read differently. GCP residuals come out small almost by construction, because the solution was fitted to them, so they mainly catch a mistyped coordinate or a mis-clicked target. Checkpoint errors are the honest number, and the same open-source documentation says plainly that the report's internal estimates are no substitute for checkpoints. How those errors become an accuracy statement belongs to accuracy assessment.
The solve under the grading job's map
Flying a site and delivering a survey-grade map, on the grading job, means an orthomosaic, a bare-earth model good enough for 1-foot contours, and the volumes of two stockpiles of about 1,400 and 500 cubic meters (about 1,830 and 650 cubic yards). Every one of those is computed from the cameras this solve produces. The dense cloud is built along the solved lines of sight, the elevation models from the dense cloud, the orthomosaic by projecting each photo through its solved camera onto one of those models, and the volumes from the terrain model. An error in the solve does not stay in the solve; it is copied into every deliverable, consistently enough to look right.
So the solve is checked before anything is built on it. All of the roughly 250 photos should be placed. Tie points should cover the whole 16 hectares (40 acres), thinner along the tree line but without gaps. The image residuals should be within a pixel and point every which way. The focal length should not have wandered far from its starting value, and the RTK camera positions should have moved only by amounts their stated accuracy allows.
The five GCP residuals should be small, which proves little, since the solve was fitted to them. The 30 checkpoints, never used in the solve, are the real test: on this job the map fit them to 3.2 cm horizontal and 4.8 cm vertical root-mean-square error, reported as 3.5 cm and 5.2 cm once the checkpoints' own survey error is counted in, inside the 5 cm and 10 cm classes the job promised.
None of that requires knowing how the adjustment is computed. It requires knowing which settings matter (how much to trust the camera positions, whether the focal length is left free), what a weak block looks like, and that the software will produce a confident map from a bad solution without complaint. And a sound solution still leaves the question of who answers for the map: each state sets where licensed land surveying begins, and the line can take in topographic maps, volumes and statements of a map's accuracy, not only boundaries; this job is done under the responsible charge of a licensed land surveyor, who answers for the control, the checkpoints and the accuracy statement, while the pilot plans and flies the mission and processes the data.
Sources
The published studies, standards and guidance this page cites. Links open on other sites.
- ASPRS Positional Accuracy Standards for Digital Geospatial Data, Edition 2, Version 2 (ASPRS, 2024) my.asprs.org
- Distinctive Image Features from Scale-Invariant Keypoints (International Journal of Computer Vision, 2004) link.springer.com
- Photogrammetry Using UAV-Mounted GNSS RTK: Georeferencing Strategies without GCPs (MDPI Remote Sensing, 2021) www.mdpi.com
- 3-D uncertainty-based topographic change detection with structure-from-motion photogrammetry (Earth Surface Processes and Landforms, 2017) onlinelibrary.wiley.com
- Quality Assessment of DSMs Produced from UAV Flights Georeferenced with On-Board RTK Positioning (MDPI Remote Sensing, 2018) www.mdpi.com
- Initial study assessing the suitability of drones with low-cost GNSS and IMU for mapping over featureless terrain (ISPRS Archives, 2022) isprs-archives.copernicus.org
- Correcting for Duplicate Scene Structure in Sparse 3D Reconstruction (ECCV, 2014) link.springer.com
- Dynamic Urban Scene Modeling with 3D Gaussian Splatting from UAV Full Motion Videos (ISPRS Archives, 2025) isprs-archives.copernicus.org
- Mitigating systematic error in topographic models derived from UAV and ground-based image networks (Earth Surface Processes and Landforms, 2014) onlinelibrary.wiley.com
- WebODM documentation: Quality Reports docs.webodm.net