Why a one-pixel registration error throws away half your stack
A 2026 paper stacks satellite images around the predicted target instead of the star field and gains 34 to 98 per cent in signal-to-noise. We rebuild the effect with fibub's image stacker and read the paper's own pointing error back out of that range.
Stacking many short exposures is how you see something too faint for one of them. The rule everybody quotes is that the signal-to-noise grows as the square root of the number of frames, and it does, but only while every frame puts the target on the same pixel. A 2026 paper in Aerospace looks at the case where that fails: a telescope on a ship or a vehicle, watching a faint satellite, where the platform’s own wobble means the frames never quite line up. The authors’ answer is to stop aligning on the star field and instead crop and stack around where the orbit says the target should be, which buys them 34 to 98 per cent more signal-to-noise. This article rebuilds the whole effect with the image stacker, whose star matching, resampling and κσ-clipped averaging are the same steps, and then uses their published gain to work out how badly their platform was really wandering. Along the way, prepare your frames with the calibration frames tool, measure how sharp they are with the star FWHM checker, and find out where a satellite will be with the satellite tracker.
The paper in brief
The problem is specific but the physics is general. An optical sensor on a moving platform takes a burst of exposures shorter than 200 ms each, at about 6 arcseconds per pixel. Attitude disturbances swing the field between frames, so the authors first solve each frame against the star field, matching at least about 80 stars. That fixes the stars, but it leaves the target with whatever error the solution could not absorb, and the target’s light then lands on different pixels in different frames.
Their method, OPG-TCS, projects an orbit prediction into each frame, crops a 1024 × 1024 window around the predicted target position and stacks those crops. They compare it with direct stacking and with other robust baselines on real sequences, using signal-to-noise as the main measure, supported by peak prominence, energy concentration and shape consistency. In representative 50-frame stacks the relative signal-to-noise is 33.7 to 97.8 per cent above direct stacking. They also test how much the orbit prior may be wrong, perturbing the predicted position by 0, 0.5, 1.5 and 3 pixels, which at their plate scale is 0, 3, 9 and 18 arcseconds.
Checked with the tools
The stacker’s maths does all three of the paper’s steps. stars finds bright, isolated local maxima and centroids them; align matches two star lists by looking for pairs with the same separation and then refines the shift, rotation and scale by least squares; warp resamples a frame onto the reference grid with bilinear interpolation; and Stacker averages in two passes, leaving out any pixel more than κ standard deviations from the other frames. We cannot get the authors’ sequences, so we simulate 192 × 192 pixel frames of a 90-star field with a faint point target, a wandering platform, and read noise, and run them through those functions.
Step 1: the star-field solution itself works, and well. We shifted a simulated frame by exactly 4.300 and −2.700 pixels and turned it by 0.350°, then handed the two star lists to align. It matched 36 stars and returned a shift of 4.292 and −2.694 pixels and a rotation of 0.346°, with a residual scatter of 0.071 pixels. So the registration step is not the weak link; it is accurate to well under a tenth of a pixel on the stars. The paper’s difficulty is elsewhere: the target does not sit still relative to the stars, and the platform’s motion during a short exposure is not a pure shift and rotation of the whole field.
Step 2: with the target centred, the square-root law holds, minus a resampling tax. Figure 1 shows the target’s signal-to-noise against the number of frames when each frame is shifted so the target lands on the window centre. From one frame (22.8) to fifty (142.4) the gain is a factor of 6.25, against the ideal √50 = 7.07. The stacker therefore delivers about 88 per cent of the textbook gain; the missing 12 per cent is the small blur that bilinear resampling adds when every frame is moved by a different fraction of a pixel. That is worth knowing before you blame your optics for a soft stack.
Step 3: a leftover offset of a pixel costs you a third of the stack. The other curves in Figure 1 are direct stacking, where the star-field solution leaves a random residual of 0.5, 0.9 or 1.5 pixels per frame. At fifty frames the target reaches 133.8, 108.4 and 71.8 against the centred 142.4. With a 3-pixel residual it collapses to 23.0: fifty frames then buy almost nothing over one. The reason is simple geometry. The stacked image of the target is its point spread function convolved with the spread of the registration errors, so a target whose own width is σ_psf and whose position wanders by σ ends up broader by a factor √(1 + σ²/σ_psf²) and fainter at the peak by the same factor. With σ_psf near one pixel, one pixel of wander roughly doubles the width.
Step 4: the paper’s own gain tells us how bad its pointing was. This is the part a reader can do that the paper does not. Figure 2 plots the gain from target-centred stacking at fifty frames against the residual registration error, measured on our simulated stacks. Reading the paper’s 33.7 and 97.8 per cent back off that curve gives residual errors of 0.93 and 1.56 pixels, or about 5.6 and 9.4 arcseconds at their plate scale. Those values sit neatly inside the range the authors themselves probed when they perturbed the orbit prior (0.5 to 3 pixels), which is a good sign that their test grid was chosen for the right reason.
| Check | Paper | Our tool result (simulated frames) |
|---|---|---|
| Star-field registration accuracy | at least 80 matched stars per frame | 36 of 40 stars matched, 0.071 px rms; shift recovered to 0.008 px, rotation to 0.004° |
| Gain of target-centred over direct stacking, 50 frames | 33.7 to 97.8 % | 39.4 % at 1.0 px residual, 88.7 % at 1.5 px |
| Residual registration error behind that gain | not stated | 0.93 to 1.56 px, that is 5.6 to 9.4 arcseconds |
| Signal-to-noise against frame count, target centred | stacks of 5, 10, 25, 50 | 44.5, 64.8, 102.8, 142.4 from 22.8 in one frame: 88 % of √N |
| Prior perturbations tested | 0.5, 1.5, 3 px | gain 13.9 %, 88.7 %, 413 % at those residuals |
Note the shape of that last column. The gain is not a mild improvement that grows steadily; it is nearly flat below half a pixel and then runs away. Below about 0.4 pixels of residual error, target-centred stacking wins less than 7 per cent and is not worth the extra machinery. Above about a pixel and a half it is the difference between a detection and nothing. Any paper quoting a stacking gain should say which regime it was in.
How we made the graphs
Both charts and every number come from scripts/blog-figures/target-centred-stacking-misalignment-snr-gain-faint-satellites.mjs in fibub’s public code. It calls stars, align, apply, warp, Stacker, noise and stats from src/lib/sci/stack.ts, the maths behind the image stacker. Each point on the curves is the average of eight independent simulated sequences built from the same star field, so the lines are smooth and nested.
The plate scale of 6 arcseconds per pixel, the frame counts of 5, 10, 25 and 50, the perturbations of 0.5, 1.5 and 3 pixels and the published gain of 33.7 to 97.8 per cent come from the paper. The 192 × 192 pixel frames, the 90 stars, the sky level of 300 ADU with 14 ADU of read noise, the point spread function of σ = 1.05 pixels and the target brightness (a single-frame signal-to-noise of about 23 in a 3 × 3 aperture) are our choices; the paper gives none of these. The signal-to-noise is measured as a 3 × 3 aperture sum divided by the spread of the same aperture over hundreds of empty places in the same stack, so that the correlation the resampling puts into neighbouring pixels is counted properly. Every frame is simulated: this is not the authors’ data, and the numbers show that the mechanism behaves as they describe, not that their sensor does.
How we test the maths
On every change to fibub, tests/sci.mjs runs the stacker’s checks, including tests/sci-tools/image-stacker.mjs:
- On the tool’s own eight-frame example set, the master dark must find 25 hot pixels, every frame must align on at least 24 stars with a residual under 0.1 pixels, and the stack’s background noise must come out at least 2.5 times lower than one frame’s.
- The κσ clip must throw away a few per cent of pixel values, which is where the satellite trail planted in the example frames goes.
- A frame written out as 32-bit FITS and read back must return the same pixels, so a stack can leave the browser without loss.
- New with this article: a star field shifted by 4.300 and −2.700 pixels and rotated by 0.350° must be recovered by
starsplusalignas 4.292 and −2.694 pixels and 0.346°, from 36 matched stars with an rms of 0.071 pixels.
Check it yourself
On the image stacker, you do not need any files:
- Press Run the example. It loads eight simulated 360 × 260 light frames of a drifting star field, with matching darks, flats and bias frames, and one satellite trail hidden in them.
- Leave Leave out values more than on 3 σ from the rest and Alignment on on the stars (shift and rotation).
- The headline reads 8 of 8 frames stacked: the background noise is 3.0 times lower than in one frame, against the ideal √8 = 2.8. Here the stack beats the ideal slightly, because the resampling smooths neighbouring pixels.
- The facts list shows Noise in one frame 5.95, Noise in the stack 1.97, and Left out by clipping 3.9 % of values. Master dark reports 25 hot pixels found and patched, and Master flat that the corners get 58 % of the centre’s light.
- Scroll to Each light frame. Frame 2 moved −13.4, −10.5 pixels and turned 0.39°, matched on 38 stars with an rms of 0.08 px. That table is the registration quality the whole stack rests on: if the rms there is near a pixel, Figure 2 above tells you what it is costing you.
- Now set Alignment to none (already aligned) and press Calibrate and stack. The stars turn into short streaks, which is exactly the failure the paper is working around, with the field rather than the target as the victim.
What researchers can use it for
- Decide whether target-centred stacking is worth building. Measure your registration residual from the per-frame table, then read the gain off a curve like Figure 2. Under half a pixel, do not bother.
- Convert a published stacking gain into a pointing error, as we did here, and check whether an author’s claimed improvement is consistent with their stated plate scale and seeing.
- Check that a stack really reached √N, using the noise ratio the tool prints next to the ideal value. A shortfall means registration error, a sky gradient or over-aggressive clipping, in that order of likelihood.
- Find out how many frames a detection needs before an observing run, by stacking simulated frames at your own noise level.
- Audit a clipping threshold. The percentage of values left out is printed; if it is far above a few per cent, κ is too tight and real signal is going out with the trails.
The fine print
- Every frame here is simulated. The paper’s sequences are real observations from a moving platform, and real attitude disturbance is not the independent Gaussian wander we modelled.
- We treated the residual registration error as random from frame to frame. If a platform drifts steadily instead, the target smears into a streak and the loss is worse than Figure 2 shows at the same σ.
- Our frames are 192 × 192 pixels against the paper’s 1024 × 1024 analysis window, and we used a 3 × 3 aperture rather than their detection pipeline with its μ + 3σ threshold, 8-connectivity and two-pixel minimum area. Absolute signal-to-noise values are therefore not comparable with theirs; the ratios are.
- The inferred 0.93 to 1.56 pixel residual assumes their point spread function is about as wide as ours (σ ≈ 1 pixel). A broader one would mean a larger residual for the same gain. The paper does not state its FWHM.
- The paper’s results section was not readable through our reader, so we worked from the abstract and methods: the 33.7 to 97.8 per cent range, the frame counts and the perturbation grid. Their per-method auxiliary metrics are not checked here.
Sources
- Qu, L., Liu, J., Li, H., Wu, Z., Wang, J. and Yao, K. (2026), Orbit-Prior-Guided Target-Centered Stacking for Space Surveillance and Tracking Under Dynamic-Platform Optical Observations, Aerospace 13(3): 279, doi:10.3390/aerospace13030279. Licence CC BY 4.0, checked on the MDPI article page and in the Crossref record (creativecommons.org/licenses/by/4.0/, version of record), 2026-11-24; the record shows no correction or retraction. Values used here: plate scale about 6 arcseconds per pixel; single exposures under 200 ms; stacks of 5, 10, 25 and 50 frames; at least about 80 matched stars per frame; a 1024 x 1024 pixel analysis window with a 15 x 15 pixel exclusion zone for the background; detection at the background mean plus 3 sigma; orbit-prior perturbations of 0, 0.5, 1.5 and 3 pixels (about 0, 3, 9 and 18 arcseconds); and a relative signal-to-noise gain of 33.7 to 97.8 per cent over direct stacking in representative 50-frame stacks.
- Two-pass kappa-sigma clipped averaging, bilinear resampling onto a reference grid and star-pattern matching by invariant separations are standard image-stacking methods; fibub's versions are checked in its own tests on a simulated frame set.
If you are an author or publisher and want a credit or a passage changed or removed, tell us and we will act quickly.