Nightscape stacking: a stacked sky over a sharp, fixed foreground

A nightscape here is two products, not one: the sky is stacked, the ground is built apart from it — from a reference frame, or reduced at the same pixel coordinates across several frames — and the two are joined along a sky region you mark, because a stack aligned on the stars smears the ground, and pretending otherwise is how a landscape ends up subtly melted.

On this page

Watch it happen: the video guide for this mode (4:47) shows the Lights and darks, the sky region drawn three ways, and the memory refusal this night runs into, on the real application with every count as it reported it.

A nightscape made in this app from the author’s Sony A7C RAW frames: Milky Way and star trails above a dark hillside
Night above the hills · the author’s Sony A7C RAW frames, made in this app’s Nightscape mode with plain lighten, a reference foreground and an automatic sky mask. The app’s offered 2× working size was used; no outside grading

Two products, not one

The reason most nightscape stacks look wrong is that one operation was applied to two subjects. Stars move and a treeline does not, so a stack that aligns on stars smears the ground and a stack that aligns on the ground smears the stars. Averaging both without saying which you meant produces a picture that is slightly wrong everywhere and obviously wrong nowhere.

So this mode keeps them apart on purpose. The sky is stacked the way the other modes stack it. The ground is built separately, from frames whose tripod did not move, and the two meet along a boundary you draw.

Completed Nightscape synthetic demonstration preview showing star trails above a fixed dark ridge
A finished Nightscape run. Twelve sample tripod frames stacked with the median-ground recipe shown beside them.

What happens to the ground, exactly

There are two methods and neither of them moves a pixel:

  • Reference. The ground is copied from one frame you choose. Nothing is combined, so nothing is softened — the trees are as sharp as that exposure was, and its noise is the noise you get.
  • Median. Several fixed-tripod frames are reduced at the same pixel coordinates. That lowers the noise and removes anything that moved through the foreground — a passing car's headlights, a person with a torch — without registering anything, because on a tripod that did not move there is nothing to register.

Which frames contribute is recorded rather than assumed: the result carries where its ground came from, so "the trees are from frame 3" is a fact you can read rather than a thing you have to remember.

What it will not do, and why that is the honest answer

Nothing here warps the night's own frames to fit the ground. If the tripod was nudged between frames, this mode cannot put the ground back together from them — and it does not try. A tool that warped a landscape into alignment would be inventing detail at the seams and inventing it convincingly, and the one place a viewer will never look for a fault is the part that looks sharp.

The practical consequence is a rule for the night rather than a setting: whatever else you change, do not touch the tripod. If it did move, the reference method on a single good frame is still a real picture; the median across frames that disagree about where the trees are is not.

What it can do instead is take the whole ground from one photo. Another photo lines up a single picture, as a whole, on the night's ground and skyline, and refuses by name a photo too different to fit. One sharp photo moved once is a different thing from a night of frames bent to agree.

Marking the sky, and the edge between them

The boundary is explicit because a guessed one is worse than a drawn one. A sky-detection model was considered and rejected on licence grounds rather than on quality. What ships proposes the sky region automatically, and you correct it with the Studio's own tools: Magnetic horizon, a fine brush, Feather, a circle and the Ground choice.

The edge is feathered rather than cut, so the join is a gradient rather than a line. That is the one place a composite normally announces itself, and a hard edge over a hundred exposures of slightly different sky brightness announces itself loudly.

Still stars, another photo, an even sky, starless and panoramas

Still stars. The sky can also be stacked as still, point-like stars instead of trails: the photos are lined up on the stars and stacked, and the ground stays the sharp ground described above. It needs enough photos that line up on the stars; with too few it says so, and the trail sky is still offered.

Another photo. The ground can come from a frame of the same night or from a photo you add. It is lined up on the ground and skyline for you, you can nudge it by hand, and its colour and brightness are matched to the night.

An even sky. A light dome and dark corners can be removed from the sky, keeping as much glow on the horizon as you choose. The ground is untouched, and the strength can be changed without stacking again.

Starless. Over a still-star sky, Nightscape can make a starless version of the sky, so the sky and the stars can be edited apart. A trail sky has no starless version.

Star tools. Smaller stars, a calmer sky and fringes taken off bright stars work on the sky only; the ground is untouched.

Panoramas. Two to six finished Nightscape panels, left to right, can be joined into one wide picture in your browser. The panels are kept on your device for up to 7 days until you save the panorama, and they are never uploaded.

Each of these, with a link to try it: what is new in the stacker.

Try it on your own night

Open Nightscape in the stacker Your photos are not uploaded and nothing is installed; the frames are read in your browser.