Fun With Science  /  Globe Deconstruction  /  Unknown Luminaries · pages 155–157  /  Draft

Stacked, Sharpened — and Beside the Point

What the book gets right about how planetary photographs are made, and why granting all of it costs the argument nothing.

Shell page, published for review. The argument and the arithmetic are here. The demonstrations it proposes — stacking a known target, stacking pure noise — have not been run and photographed, and they should be. Marked noindex and not linked as an answer in the catalogue.

Three pages of the Unknown Luminaries chapter, at pp. 155–157, are given to how planetary photographs are made: lucky imaging, ten thousand frames, stacking software, wavelet deconvolution. The heading is “Image stacking + Deconvolution = Reality?” and the caption is “How to manipulate a photo to achieve the desired planet 101.” It is a short section and it does a lot of work, because the two arguments that follow it both rest on photographs, and one of them is captioned “(image stacked and edited)” in his own hand.

We think a good deal of this is right, and we say so below at some length. We also think it is aimed at the wrong target, and that granting every word of it costs the argument nothing at all.

The suspicion of processing: reasonable, and partly correctAs a load-bearing objection: aimed at the decoration
Where this lands

To be completed. The provisional position: sharpening really can manufacture detail, and a reader is entitled to want the pipeline explained. But almost nothing in the case for a moving Earth was ever built on what planets look like. It was built on where they are, and when — measurements that need a dot, not a picture, and most of which predate photography entirely. Grant that every processed planetary image is worthless and Neptune is still where Le Verrier said it would be.

What the claim is

p. 156 quotes a working tutorial from the astrophysicist whose flat-Earth challenge video the chapter uses throughout: capture around ten thousand frames with FireCapture, stack them in AstroSurface, assemble the result. The book’s reply is “Is he implying that Photoshop is the best method to prove to myself that the Earth is not flat?” p. 157 sets a raw frame beside a processed one — “Real Jupiter” against “Jupiter 4.0?” — over a quotation about applying a wavelet setting that “brings out a lot of the detail.”

The charge is that the detail is put in rather than drawn out, and by p. 161 it has become “Do these deconvoluted and sharpened images even resemble an 88,800-mile-wide ball of gas?”

The concession, and it is not a small one

Sharpening can invent. This is not a debating point, it is what the mathematics says. Deconvolution is an inverse problem, and inverse problems amplify noise into structure unless they are held back deliberately; push a wavelet slider far enough and you get ringing at the limb, haloes around moons, and belt edges crisper than anything the atmosphere delivered. Over-processed amateur planetary images are full of exactly this, and two people working the same raw capture routinely produce visibly different planets.

The pipeline also has genuinely subjective steps. How many frames to keep, how hard to sharpen, what to do about colour — none of these has a right answer written down anywhere, and the operator's taste is in the result. And the broader instinct is sound: manipulated images are a real problem in real science, and “it came out of image-processing software” is a fair thing to want explained rather than waved through.

So we are not going to argue that the pictures are unimpeachable. We are going to argue something else.

The detail was never the evidence

Here is the thing the chapter does not seem to have weighed. Essentially nothing in the case for a heliocentric, moving Earth rests on what a planet looks like through a telescope. It rests on where planets are, and when — and a position needs only a dot.

resultwhat it was measured fromdetail required
Retrograde motion of Marsnaked-eye positions, recorded for millennianone — no optics at all
Kepler’s lawsTycho’s naked-eye positional cataloguenone — predates the telescope
Speed of light, Rømer 1676timings of Jovian moon eclipsesnone — a stopwatch on a disappearance
Aberration of starlight, Bradley 1728stellar positions to tens of arcsecondsnone — stars are points
Neptune, Le Verrier 1846residuals in Uranus’s measured positionsnone — see below
Mercury’s anomalous precessiontransit timings and positionsnone — about 43″ per century

Every one of these predates photography, let alone stacking software. They are the load-bearing results, and they were obtained by writing down where a point of light was on a given night.

Neptune is the case that settles it

Neptune was not found by looking. It was calculated — from nothing but the accumulated discrepancy between where Uranus was predicted to be and where it was measured to be. Le Verrier published a position; Galle pointed a telescope at it on the evening of 23 September 1846 and found the planet about one degree away.

And nobody could see anything on it. Neptune’s surface features are not visible from the ground at all; it took the Hubble Space Telescope and adaptive optics before any detail was observed. An entire planet — its existence, its mass, its orbit — was derived, confirmed and used, from position measurements alone, by people who had never seen and could never have seen a single feature on its disc.

How small these things actually are

Computed for the evening of Dury’s photograph, 22 February 2025:

planetdistanceapparent disc
Venus0.38 AU44.3″
Jupiter4.88 AU40.4″
Saturn10.56 AU15.7″
Mars0.81 AU11.5″
Mercury1.25 AU5.4″
Uranus19.71 AU3.6″
Neptune30.79 AU2.2″

Ordinary atmospheric seeing blurs a point to between one and four arcseconds. Uranus and Neptune are therefore at or below the resolution the sky itself allows — they are barely more than points from the ground on any night, through any telescope, however processed.

Which is the whole answer in one line. The two planets in that photograph whose images a sharpening pipeline could most easily have invented are the two whose orbits are known best relative to anything anyone can see of them. Detail and evidence are not the same quantity here, and the chapter attacks the one that was never carrying the weight.

And they are not only visible. They are pulling on us.

Everything above concerns light — what reaches a sensor and what a pipeline does to it. There is a second channel entirely, and the book’s objection cannot touch it, because it does not run through a camera at all. These bodies exert forces we can measure, and some of the measurements are not made by looking at the sky.

Mercury’s orbit turns, and mostly the other planets turn it

Mercury’s perihelion advances by about 575″ per century against a fixed frame. This is usually told as the Einstein story, and the famous residual is real — but the residual is 43″. The other 532″, some 92 per cent of the whole effect, is simply the other planets pulling on Mercury, computed from their masses and positions and agreeing with what is observed. Venus and Jupiter do most of it. Long before relativity was needed to close the gap, the bulk of that turning had been accounted for by treating the planets as masses at known places doing known work.

A planet found entirely by its pull

Neptune, as above: located from discrepancies in Uranus’s measured positions and found within a degree of the calculated place. Nobody could see a feature on it then and effectively still cannot from the ground. It was detected by gravity and confirmed by pointing.

Venus and Jupiter are written into rock

This is the one that ends the argument. The largest-amplitude term in the variation of Earth’s orbital eccentricity is the g2 − g5 term — the difference between the rate at which Venus’s orbit precesses and the rate at which Jupiter’s does. It has a period of about 405,000 years, it drives Earth’s climate through insolation, and it is recorded in sediment.

It is read in the lake beds of the Newark and Hartford basins, in the Chinle Formation at Petrified Forest, in Japanese pelagic ribbon cherts and in the Early Jurassic marine sequences of the Bristol Channel. It has been shown stable across the Late Triassic and Early Jurassic, roughly 223 to 199 million years ago, and it is now used as a calibration clock for geological time — a “geological orrery” that constrains the planets’ past motions from strata rather than predicting strata from the planets.

Read that again with pp. 155–157 in mind. The gravitational pull of Venus and Jupiter is legible in mudstone, and geologists count the layers to tell the time. There is no telescope anywhere in that measurement, no sensor, no stacking, no wavelet, no Photoshop. Whatever one concludes about a deconvolved photograph, it leaves this untouched.

Jupiter weighed with a neutron star

Millisecond pulsars are clocks. To time one, you must convert arrival times at the telescope to arrival times at the solar system’s centre of mass — and if a planet’s assumed mass is wrong, that error appears as a periodic wobble in the residuals with the planet’s own orbital period. So the mass can be fitted for. From four millisecond pulsars, the Jovian system mass comes out at 9.547921(2)×10−4 solar masses — about four times better than the Pioneer and Voyager flyby values, and within a factor of twenty of what Galileo achieved in orbit.

Jupiter, weighed using radio pulses from a dead star thousands of light years away, in agreement with what a spacecraft got by falling around it.

Where this does and does not reach

The compact form of all of it: a photograph of Jupiter could be a forgery from end to end and the case would be untouched, because Jupiter’s mass is in the rock under Petrified Forest, in the turning of Mercury’s orbit, and in the arrival times of pulses from a neutron star.

The ladder does not stop at the amateur

The two sections above step around the objection rather than answering it: they say the pictures were never carrying the weight. But the objection deserves answering on its own ground too, because it contains an assumption that is simply false. The argument at pp. 155–157 treats the processed amateur image as though it were the thing our knowledge of these planets rests on. It never was — and there are instruments further up the ladder that produce comparable or better pictures without needing the disputed step at all.

instrumentresolutionacross Jupiterhow it beats the atmosphere
100 mm (4 in)1.38″29lucky imaging and stacking
356 mm (14 in)0.389″104lucky imaging and stacking
508 mm (20 in)0.272″148lucky imaging and stacking
Pic du Midi T1M, 1.05 m0.132″307lucky imaging and stacking
Hubble, 2.4 m0.058″701nothing — it is above the atmosphere
VLT, 8.2 m0.017″2,395adaptive optics — hardware, not software
spacecraft in situkilometres per pixeltens of thousandsno atmosphere and no distance

Read the fourth column before the third. The disputed technique runs continuously from a garden telescope to a professional observatory. The 1.05 m telescope at the Pic du Midi is a research instrument that images planets by capturing thousands of frames, keeping the sharpest and stacking them — the same pipeline the book calls “how to manipulate a photo,” operated at an altitude observatory under formal professional–amateur collaboration, with the results feeding planetary science. There is no line on this ladder where dubious amateur practice stops and respectable astronomy begins. There is one method, scaling with aperture, and then two rungs that do not need it at all.

There is a prediction buried in that column, and it is not the obvious one. Above roughly 100 mm every single frame is seeing-limited rather than aperture-limited — the atmosphere blurs to one or a few arcseconds whatever the mirror is doing. So a raw frame from a 356 mm telescope and a raw frame from the Pic du Midi metre should look much the same, and only the stacked versions should separate by aperture. That is what the simulation below produces, and it is checkable against real frames by anyone who has both.

Hubble is the one that matters most here, because the problem lucky imaging exists to solve does not exist for it. There is no seeing above the atmosphere, so a single exposure is already at the diffraction limit — no frame selection, no stacking to beat turbulence, none of the machinery the book objects to. It resolves about seven times finer than a good fourteen-inch stack, and about twice as fine as the Pic du Midi metre. And a large ground-based telescope with adaptive optics corrects the wavefront in hardware, which is a completely different mechanism with completely different failure modes from choosing sharp frames in software.

Which gives the objection a shape it can be tested in. A 356 mm stack resolves to about 0.39″; Hubble resolves 0.058″. So everything present in a good amateur stack must appear in the Hubble image of the same feature, and nothing in the amateur stack should be absent from it. Wavelet artefacts in AstroSurface have no reason to coincide with what an instrument in orbit sees natively, still less with what a spacecraft photographed from four thousand kilometres. Show one that does not match, and this page is in trouble.

The right way to put it is that stacking is a booster, not a source. It moves a small aperture toward the resolution it already has and which the atmosphere was hiding — and the result can be checked against instruments that started higher up and needed no boosting.

Nobody’s image is raw, and that is not the point

Worth conceding before it is offered as a rebuttal: the professional images are processed too. Hubble frames are calibrated, dark-subtracted, flat-fielded, drizzled from multiple exposures, composited across filters and stretched for display; spacecraft images are mosaicked and colour-mapped. The same principle applies to them as to the amateur, from a higher starting point. So the honest contrast is not processed against unprocessed — there is no unprocessed.

It is independent pipelines with unrelated failure modes converging on the same structure. Frame selection, adaptive optics and flying past are three ways of being wrong that have nothing in common. Agreement between them is not something a shared artefact can produce, because there is no shared step to produce it.

How the booster works, and where it stops

An aperture has a hard resolution limit, θ = 1.22λ/D, and no amount of processing passes it. That turns the book’s suspicion into something testable rather than something to argue about: if sharpening manufactured detail, the detail would not care how big the telescope was.

apertureθ at 550 nmelements across Jupiteracross Neptune
60 mm2.31″181.0
100 mm1.38″291.6
200 mm (8 in)0.69″583.2
356 mm (14 in)0.39″1045.7
Hubble, 2.4 m0.058″70138.5

Ordinary seeing is 1–4″, so above about 100 mm every single frame is seeing-limited and extra aperture buys nothing on its own. That is what the technique is for. Lucky imaging and stacking are not cosmetics; they are the route to the resolution the instrument already has.

We ran it

A simulation, and labelled as one. The target is a synthetic phantom rather than a photograph — a banded field beside a ladder of line pairs at 1.6, 0.8, 0.4 and 0.2 arcseconds — so nothing real can leak in through the back door. Each frame is that phantom seen through the aperture’s diffraction, through a randomly drawn moment of seeing around a 2.5″ median, shifted by tip-tilt and given photon noise. Four hundred frames per aperture; the sharpest five per cent registered, averaged, then deconvolved.

A grid of simulated images. Top: the synthetic ground truth, a banded field with four rungs of line pairs at 1.6, 0.8, 0.4 and 0.2 arcseconds. Below, three rows for 100 mm, 200 mm and 356 mm apertures, each showing a single frame, the best five per cent stacked, and the stack after deconvolution. The single frames are featureless mush at every aperture. The stacked and deconvolved 356 mm panel resolves the coarsest rung clearly, the 200 mm panel weakly, the 100 mm panel not at all, and no panel at any aperture recovers the finest rungs.
Contrast recovered at the 1.6″ rung: 0.005 at 100 mm, 0.105 at 200 mm, 0.214 at 356 mm, against a true 0.224. The output tracks the telescope. Nothing finer than an aperture’s own diffraction limit is recovered at any frame count or iteration count — and recovery in fact stops short of that limit, because the residual seeing and the photon budget bite first.
That last row is the answer to pp. 155–157 in one measurement. A hundred-millimetre telescope and a fourteen-inch telescope, given the same target, the same sky, the same software and the same operator, produce results that differ by a factor of forty in recovered contrast — in the direction and by roughly the amount the aperture predicts. Detail that was being invented by the software would not know how large the mirror was.

The code is in the repository at scripts/stacking_demo.py and scripts/stacking_figure.py, seeded, and runs in about twenty seconds. Change the aperture list and re-run it.

Then we ran it on somebody’s real data

A simulation shows what the mechanism can do. It cannot show what a working astrophotographer’s actual capture does, so we asked one. Christopher Go — who images Jupiter from Cebu with a 356 mm Celestron C14, and whose work appears in the professional literature — sent us a complete raw capture and permission to use it.

His covering note contained a correction worth more than the file:

“I really don’t have a single capture because we actually capture videos of planets that we process.”

Which reframes the demand. There is no unprocessed photograph to produce, in the way there is no unprocessed frame of a long exposure. The unit of planetary imaging is a video, and the picture is what you compute from it. Asking to see the raw photograph is asking for a thing that was never made.

What arrived, and what we did with it

3,215 frames at 107 per second — thirty seconds of Jupiter on 22 July 2022 at 20:41 UT, 720×620, eight-bit, raw RGGB sensor data straight off the camera. We wrote the pipeline ourselves: demosaic, register every frame by phase correlation against a fixed reference, average. No commercial software, no hand-tuning, no wavelet sliders.

First, a check that the file is what it claims to be. The planet measures 501 pixels across, and the ephemeris gives Jupiter an apparent diameter of 43.82″ that night — so the image scale is 0.085″ per pixel, and the capture is of the object, date and instrument stated.

Three views of Jupiter from the same thirty-second capture. Left: a single frame, grainy and low in contrast, the belts barely separable from the noise. Centre: the sharpest five per cent of frames stacked, showing crisp equatorial belts, festoons along their edges and a clear oval storm. Right: all 3,215 frames stacked, essentially identical to the centre panel.
The same thirty seconds, three ways. Nothing in the stacked panels is absent from the single frame — it is buried in noise there, and averaging is what uncovers it. Note also how little the lucky-imaging selection mattered: the sharpest 5% and the whole run are almost indistinguishable, because the seeing that night was steady.

The measurement

Eyes are poor judges of this, so we measured the power at each spatial scale on an identical patch of the disc, in a single frame and in the stack.

Log-log plot of power against detail size for a single frame and for the stack of 3,215 frames. The two curves coincide at coarse scales above about two arcseconds, then diverge sharply: the stack falls away steeply while the single frame flattens into a noise floor. A dashed line at 0.389 arcseconds marks the telescope's diffraction limit, beyond which the stack has essentially no power and the single frame still has a great deal.
At coarse scales the curves lie on top of each other — the structure survived. At fine scales they part by 2,140× in power, which is 46× in amplitude against the 56.7 that averaging 3,215 independent frames predicts. The shortfall is honest: frames are not perfectly independent, registration leaves a residual, and the sensor has fixed-pattern noise.
Now look at where the dashed line falls. A 356 mm telescope cannot deliver detail finer than 0.389″ — that is set by the aperture and no processing reaches past it. Beyond that line the stack has almost nothing, and the single frame has a great deal. Everything the single frame shows out there is necessarily noise, because the instrument could not have resolved it. Stacking removed precisely the part that could not have been real, and kept the part that could.

That is the answer to “Image stacking + Deconvolution = Reality?”, measured rather than argued, on a working amateur’s own data. The capture is his; the processing and the code are ours; anyone with the file can check both.

Honest notes on this run. The seeing was unusually steady — sharpest and worst frames differed by only 7% on our metric — so frame selection contributed almost nothing and the averaging did the work. On a poor night the balance would shift the other way. We applied no deconvolution at all to this data, so the panels above are what registration and averaging alone produce.

And down the ladder, on the same night

One capture at one aperture cannot show the ladder. But it can be walked downwards: take Go’s frames and impose on each the diffraction limit and the reduced light grasp of a smaller mirror, then stack as before. Everything below is his real Jupiter, his real seeing, his real sensor noise — only the telescope is hypothetical, and only in the first three columns.

A four by two grid of Jupiter. Columns are 102, 150, 250 and 356 mm apertures. The top row shows one frame at each: the 102 mm frame is noisy and soft with only the main belt visible, improving steadily to the 356 mm frame. The bottom row shows 1,200 frames stacked at each aperture: all are far cleaner, and detail increases from left to right, with the 102 mm stack still visibly softer than the 356 mm stack.
Read it in two directions. Down each column is what stacking does: the noise goes and the structure stays. Across each row is what aperture does: no amount of stacking lifts the 102 mm column to the 356 mm column, because 1.36″ is the finest that mirror can deliver. Derived from a single capture rather than photographed by four telescopes — the real multi-instrument comparison is still being assembled.

That is the shape of the whole argument in one picture. Stacking climbs to the ceiling the aperture sets. It does not climb past it, and no telescope's stack ever reaches the next telescope's.

Why a position is a much weaker thing to ask for

Resolving a feature means separating two points that are close together, which is hard and is what seeing destroys. Locating an object means finding the centre of its light, which is easy and which averaging actively helps — a blurred blob has a well-defined centroid, and the blur is symmetric. You can measure a position far finer than you can resolve a detail, and routinely do.

There is a second difference that matters more. An astrometric frame carries its own calibration. The same exposure that contains the planet contains field stars whose catalogue positions are known, and those stars fix the plate scale, the orientation and the distortion of that particular image. The measurement is checkable inside the frame that produced it. Nothing of the sort is available for a wavelet-sharpened planetary disc, which is precisely why the objection at pp. 155–157 has force there and none here.

The book’s own two tests run on positions, not pictures

Worth noticing rather than scoring a point off. The eight-planet challenge at pp. 162–163 asks whether a simulation reproduces the placement of the planets — a positional question. The Jupiter argument at pp. 158–161 turns on where a shadow sits relative to a moon and when it moves — a positional and timing question, and the test we have published for it needs a telescope and a wristwatch and nothing else.

Both of the chapter’s own chosen tests are astrometry. The imaging critique and the tests it is meant to support are not measuring the same thing.

Even so: is the stacking legitimate?

The above would hold even if the answer were no, but the answer is mostly yes, and the reasons are checkable rather than authoritative.

We had to do this to ourselves

The Mirrored Reflections measurement rests on a nature photograph, and that photograph turned out to carry aesthetic stretching applied in post-production. We did not trust the pixels. We recovered the frame’s true scale from the surveyed bearings of the mountains in it, corrected for the stretch, and stated the correction and its uncertainty on the page.

That is what taking this objection seriously looks like, and we agree with the book that it should be taken seriously. It is also why we do not think a processed image is worthless — it is why we think a processed image needs its processing accounted for, which is a different and much more workable claim.

Where detail does matter, honestly

What would change our mind

Where this page could be wrong

Sources & further reading