Deptheos

macOS (Apple silicon) · Windows · Linux preview · iPhone & iPad soon

Features

GPU-accelerated focus stacking with three methods, precision alignment, linear RAW and DNG support, non-destructive retouching, batch processing, and a full command-line tool.

Stacking & Alignment
Pyramid, Depth, Wavelet with automatic ECC affine or Grid search alignment.
RAW & Color Pipeline
32-bit float in linear camera RGB. Camera RAW in, 16-bit linear DNG, TIFF, PNG, or JPEG out.
Workflow & Automation
Non-destructive retouching, 100% split comparison, Library history, Batch, sequences, and CLI.
Native GPU Engine
Metal, DirectX 12, Vulkan on macOS, Windows, and Linux, with iPhone & iPad soon. Free under GPL-3.0.

Three stacking methods

Different subjects respond best to different methods. Deptheos includes Pyramid, Depth, and Wavelet so you can pick the right method for each bracket, or stack with two and blend the best parts of each during retouching.

All three compute in 32-bit floating point with no artificial sharpening or contrast added afterward.

Choosing a method

Automatic alignment

Focus breathing changes magnification between shots, and handheld brackets shift and rotate. ECC, the default aligner, aligns each frame to the previous one for shift, rotation, scale, stretch, and slant to a fraction of a pixel, with no settings required.

For brackets with larger jumps between shots, Grid search lets you set explicit shift, scale, and rotation limits plus exposure compensation. Shoot near to far or far to near; frames that cannot be aligned are skipped and reported so the stack completes cleanly.

Alignment

The Stacking workspace with 66 frames loaded and ECC affine alignment configured in the inspector.
Automatic ECC affine alignment in the Stacking workspace.

RAW in, linear DNG out

RAW frames are stacked in linear camera RGB, before any tone curve, in 32-bit floating point. The result exports as a 16-bit linear DNG that Lightroom, Camera Raw, and other RAW editors open like a RAW file, with white balance, highlights, and shadows intact.

Deptheos decodes camera RAW files with built-in LibRaw and writes linear DNGs natively on all desktop platforms. Adobe DNG Converter is also supported as an optional second decoder on macOS and Windows.

RAW, DNG and color

The Export sheet over a RAW stack with 16-bit linear DNG chosen.
Exporting a RAW stack as a 16-bit linear DNG.

Retouching

Paint clean detail onto the stacked result from any source frame, or from another render of the same stack: for example, painting a Depth render's smooth background onto a Pyramid render. Option-click (Alt-click) any spot to jump to the sharpest frame there, with a live preview inside the brush.

Adjust Size, Hardness, Opacity, and Flow, or enable Only where colors match to protect neighboring edges. The Eraser paints the original stacked result back, and all retouching is saved non-destructively with the render.

Retouching

Retouch at 100% on the hornet with brush settings in the inspector.
Retouching from a source frame at 100%.

Viewing and comparison

Inspect results at 100% with Split view, dragging the divider between two renders or between a render and any aligned source frame, locked to one pan and zoom. Switch to Side by Side, Top and Bottom, or Flicker at any time.

Optional Depth Map and Contribution views show which frame supplied each area of the image when you need to diagnose a tricky region.

Viewing and comparing

Side by Side view with Contribution showing the pixels supplied by one frame.
Side by Side comparison with Contribution view.

Batch processing, sequences, and CLI

Batch stacks one bracket per folder, or automatically splits a folder of mixed shots into separate stacks by capture time, and exports each as it finishes. Any stack that fails is kept with its error so you can open and retry it.

Export numbered frames for turntable sequences (one stack per angle) or grow sequences (the subject coming into focus across the bracket).

The deptheos command-line tool runs stacking, batch, and sequence workflows from a terminal, exports aligned frames with deptheos align, and benchmarks your hardware with deptheos bench.

Batch · Command line

A turntable sequence: one focus stack per angle, exported as numbered frames.

Reference

Everything, by area

Stacking methods

Pyramid default
Blends the frames separately at each scale of detail, from fine texture to broad shading, weighting the sharpest. Use it for fine detail at many depths, such as hairs, bristles and antennae, and for jumps in depth. It reads each frame once. Pyramid
Depth
Finds the sharpest frame at each spot and builds the picture from that map, with colors close to the frames'. Use it for plain out-of-focus backgrounds, smooth surfaces and something bright beside something dark. The frames must be in focus order, and it reads each one twice. Depth
Wavelet
Keeps the frame with the strongest detail at each scale and place, and takes each pixel's color whole from one frame. Use it for fine crossing detail; a plain background can come out grainy. After Forster and colleagues (2004) and Petteri Aimonen's focus-stack. Wavelet
Which one
Start with Pyramid. The methods page shows the three on the same subjects. Which method, when
Nothing added afterward
No sharpening or contrast is applied after stacking. Does it sharpen the result?
The map, while it runs
While a stack runs, the viewer builds up its map of which frame each part is coming from, colored by frame, for every method. Your first stack

Alignment

ECC default
Lines each frame up with the one before it, fitting shift, rotation, size (which focus breathing changes), stretch and slant to a fraction of a pixel. It has no settings, and a frame that moves more than 5% in shift, 5% in size or 5° from the one before is left out. Which one to use
Grid search
Fits shift, rotation and size, within limits set in Settings ▸ Alignment of up to 25% shift, 15% magnification and 10° rotation. Use it for frames that jump between shots; its Exposure compensation evens out exposure that changes through the stack. The two compared
Frames left out
A frame that can't be read or aligned is left out, and the stack goes on without it. The notice after the stack names each one and why. Frames left out
Either direction
Shoot near to far or far to near: when the second frame is more magnified than the first, the frames are aligned in reverse order, so the most magnified one leads. This is always on. Which end leads
Crop to the area every frame covers
On by default, it keeps only the area every frame covers. Off, it keeps the full frame, with edges that can be less sharp. The crop

RAW, DNG and color

Supported formats
Camera RAW (CR3, CR2, NEF, ARW, RAF, ORF, RW2, PEF, DNG, and other formats supported by LibRaw), plus JPEG, PNG, and TIFF at 8 or 16 bits. Each stack uses either RAW/DNG or standard image formats, not a mix. What it reads
Native DNG handling
DNG files are read directly on every platform with their embedded color profiles and camera metadata preserved. Which decoder, when
LibRaw with camera profiles
LibRaw is built in on both desktop and iOS. On desktop, it uses your camera's Adobe profile when one is installed: Adobe Standard by default, Camera Standard, or none, set in Settings ▸ RAW ▸ Camera profile. The settings
Adobe DNG Converter Mac, Windows
Optional, and installed separately. When Adobe DNG Converter is present, the app can decode RAW files through it, for Adobe's own demosaic and color profile. Which decoder, when
Stacked in linear camera RGB
RAW and DNG frames are stacked as linear camera RGB, before any tone curve. The result takes the color profile and white balance of the frame the others were aligned to, usually the first. RAW, DNG and color
On iPhone and iPad iOS
Choose built-in LibRaw to keep camera RAW files linear and export 16-bit linear DNGs, or Apple's Core Image for rendered 16-bit TIFF, PNG, or JPEG. iPhone and iPad

Precision

32-bit float pipeline
All three methods compute in 32-bit floating point from start to finish and round to 16 bits once on export.
Single-pass resampling
Each frame is resampled once during alignment using a Lanczos filter (Pyramid, Wavelet) or Keys bicubic filter (Depth) to avoid generational softening.
Shadow-aware sharpness
Pyramid and Depth evaluate focus relative to local brightness so out-of-focus highlights don't override sharp detail in shadows.

Export

Linear DNG
A RAW or DNG stack saves as a 16-bit linear DNG on macOS, Windows and Linux, written by the built-in DNG SDK, without Adobe DNG Converter. Lightroom, Camera Raw and other RAW editors develop it like a RAW file. A JPEG, PNG or TIFF stack can't be saved as DNG. What a DNG keeps
TIFF, PNG and JPEG
TIFF and PNG keep 16 bits where the result has them. JPEG quality is set in Settings ▸ Export, 92 at first. An embedded color profile, such as Display P3, is carried into the file. Format and bit depth
Metadata kept
The camera, lens, exposure and capture time of the frame the others were aligned to, with the artist and copyright when the camera recorded them, and the names of the stacked files. GPS position, the owner's name, serial numbers, maker notes and focus distance are left out. Metadata

Viewing and comparing

Split view
A line you drag between two renders, or between a render and a source frame, which is lined up with the result pixel for pixel. Both sides share one pan and zoom. Split
Side by Side, Top and Bottom, Flicker
The same comparison in other layouts, or one picture at a time, flipping between the two. Swap Sides switches them. The other views
Focus rail
One tick per frame along the bottom of the picture, each as tall as that frame's share of the result. Drag along it, scroll over it or press ← and → to move through the frames, shown alone or compared with the result. What goes on the other side
Contribution
Shows the parts of the frame on screen that the result took as they are, and dims the rest. It is exact for Depth and Wavelet; for Pyramid it shows the frame that was sharpest there. The depth map and Contribution
Depth map
Shows which frame each part of a render came from, colored from the first frame to the last. The focus rail's ticks take the same colors, and a drag along it lights what one frame supplied. The depth map and Contribution
Actual size
Zoom to 100%, one pixel of the picture to one pixel of the screen, or fit to the window. Zoom

Retouching

Paint from a frame or another render
Paint onto the result from any source frame or another render of the same stack, or paint the stacked result back with the Eraser. Retouching
Pick the frame from the picture
⌥-click (Alt-click) picks the frame the result took that spot from. Inside the brush ring you see the source before you paint. What you can paint from
The brush
Size, Hardness, Opacity and Flow. Only where colors match skips pixels where the source differs from the result. The brush
Saved with the render
The painting is saved with the render from the first stroke, and its exports include it. Undo and redo go back through the strokes made since Deptheos started. Undo and what is saved

Batch

Many stacks at once
One render per folder, or auto sort, which splits each folder into stacks by capture time. It cuts where the pause is longer than 2 seconds and four times the shots' typical pause, or where the camera changes. How to split
Export as it goes
Each render can be written to a folder as soon as it is made, as TIFF, JPEG, PNG or DNG. DNG applies to RAW stacks; the others in the run are written as TIFF. Export each render
Failures kept
A stack that fails doesn't stop the run. It is kept with its error; Open to Retry loads it to fix and stack again. Stacks that failed
Progress and cancel
The Library shows where the run is. Cancel stops the stack in progress and keeps every render already made. While it runs

Grow and turntable sequences desktop

Grow sequence
Numbered frames in which frame k is the stack of k of the bracket's frames, so the subject comes into focus as it plays, from the back or the front. It is made from a Pyramid render with File ▸ Export Grow Sequence…; retouching is not included. Sequences
Turntable sequence
One stack per angle of a subject on a turntable, each in its own folder, turned into numbered frames from the Batch dialog. Grow across stacks turns and comes into focus at once (Pyramid only). Sequences
On the command line
The command line makes both sequences too. sequence grow, sequence turntable

Frames and renders

Add files or folders
Drop them on the window or use Add, then include or exclude frames by selecting rows. Sort by name or by capture time. Your first stack
RAW + JPEG pairs
A shot saved as both RAW and JPEG is one row, and a switch above the list chooses which is stacked. Your first stack
Every render kept
Each render keeps its frames and settings: revert to an old one, change something and stack again. Your frames are only read, never changed, moved or deleted. Renders
Find and keep track
Search by stack, render or batch name; rename renders and star the keepers. The Library
Moved folders
If the frames' folder moves, Locate… points the list and every render that uses it at the new place. Moved frames and Locate

Speed and hardware

Where it runs
macOS 27 or later on Apple silicon; Windows 10 or later, 64-bit; Linux, as a preview, with glibc 2.35 or newer and a Vulkan driver, on x86-64 or ARM64, each as a .deb, .rpm or tarball. What it needs
On the GPU
Stacking runs on the GPU: Metal on Apple devices, DirectX 12 or Vulkan on Windows, Vulkan on Linux. Integrated graphics will do. A Windows or Linux computer with no GPU stacks on the CPU instead, much more slowly. Where a GPU is there but doesn't work, choose software rendering in Settings ▸ Advanced. Memory and the GPU
Choose the GPU
When a computer has more than one GPU, Settings ▸ Advanced ▸ GPU picks which one to use. Memory and the GPU
Frames stream through
Only a few frames are in memory at once, so memory use grows with the size of the photos, not with the number of frames. 16 GB is recommended. What it needs
How fast
200 JPEG frames of 45 MP, read from disk, aligned with ECC and stacked with Pyramid in 5.2 s on an Apple M5 Max (32-core GPU). All the timings

Command line

Stack, batch and sequence desktop
The deptheos command stacks with all three methods (pyramid, depth, wavelet), runs batch and sequence, and writes the app's export formats. It comes with the app on each desktop system. The command line
deptheos align
Lines up a bracket's frames and writes each aligned frame to a folder, ready to stack or retouch in another program. align
deptheos bench
Times whole stacks on your own frames and machine, printing a table or saving JSON. bench

The app

Light and dark, Focus Mode
Follows your system appearance, with full screen and Focus Mode (Tab) to clear the panels and leave only the picture and view bar.
Open With and drag and drop
Drop folders or frames on the window, or open them with Deptheos from your file manager.
Update check and diagnostics
Checks GitHub for updates at startup (can be turned off in Settings ▸ General), with Help ▸ Report a Problem… and Help ▸ Save Diagnostics…. Privacy

Not in this version

  • A Lightroom plug-in. Add the RAW files or export TIFFs to Deptheos, and bring the linear DNG or TIFF back. With Lightroom
  • Slabs. Stacking a deep bracket in overlapping groups, to retouch from the groups.
  • Camera or rail control. Shoot with your camera's own focus bracketing or your rail's controller.
  • Tone, color and crop tools. Deptheos stacks and retouches. Develop the result in your editor.
  • Dust maps, scale bars and text on the picture.
  • Stereo pairs and 3D models.
  • Languages other than English.
  • Intel Macs.

What is planned is on the roadmap.

iPhone and iPad · coming soon

iPhone and iPad

The desktop app's stacking engine on iPhone and iPad, with everything on the device. Import brackets from Photos, Files, or an external drive, stack with Pyramid, Depth, or Wavelet, and retouch with Apple Pencil on iPad.

Requires iPhone 15 Pro or newer, or an iPad with an M-series or A17 Pro chip or newer, on iOS 26 or iPadOS 26.

Deptheos for iPhone and iPad

Deptheos on iPhone Duo in open mode showing the stacked 66-frame hornet render with its focus rail.