Docs · Stacking
Choosing a method
Deptheos has three stacking methods: Pyramid, Depth and Wavelet. Each does best on some subjects and worst on others. The table is the short answer; the figure under it shows the three on the same places.
| Pyramid | Depth | Wavelet | |
|---|---|---|---|
| Hairs and fine detail over a far background | Crisp | Soft | Crisp |
| Plain, out-of-focus backgrounds | Grainy at low Smoothness | Smooth | Grainy, blotchy |
| Something bright against something dark | Some glow | Clean | Can streak |
| A jump in depth, one part in front of another | Crisp | Soft along the step | Can streak |
| Colors | Blended from several frames | True to the source frames | Each pixel from one frame |
| Frames out of focus order | Fine | Needs them in order | Fine |
| Passes over the frames (I/O) | Once | Twice | Twice |
| Time for 200 JPEG frames of 45 MP on an Apple M5 Max (32-core GPU), aligned with ECC | 5.2 s | 5.4 s | 6.5 s |
Start with Pyramid, the default. Try Depth when a plain
background comes out grainy or a dark area beside something bright comes out hazy. Reach for
Wavelet when you want each pixel's color taken whole from a single frame rather than
blended across frames (or if you're used to focus-stack and microscopy workflows). Where one
method does better in one part of the picture and another elsewhere, stack with both and
paint from the better render over the other.
The three on the same places
Results the app made from the hornet, spider and circuit-board sample stacks at full resolution, at 100%, each method at its default settings. Choose a place, then flick between the methods.

--consistency 2).
Hairs: the pyramid or the wavelet. Both choose separately for each size of detail, and their hairs are crisp. Depth's are softer, with a haze between them: each hair is thinner than the patch the map decides its depth over, so it is taken partly from frames where it is blurred.
A plain background: Depth. Nothing here is sharp in any frame. Depth gives the whole area one depth, so it comes from one or two frames and is smooth. The pyramid lets the sharpest frame at each spot dominate, and in a plain area that is whichever frame's noise scores highest, so it is grainy; the wavelet switches frames from pixel to pixel and is grainy too.
Bright against dark: Depth. In the pyramid the dark background beside the spider's pale leg is lifted to a haze: the leg's out-of-focus glow, let in through the coarse levels. Depth takes the background from frames where the leg is not spread over it, and it stays dark. The wavelet is blotchy there, with a fringe of the leg's color along its edge.
The antenna's tip: Pyramid or Depth. Both keep it crisp. In the wavelet the lower half of the tip is washed pale, with or without its filters. It gives each pixel the color of the frame whose brightness is closest to its gray picture, and that need not be a frame where the tip is sharp.
A circuit board: the pyramid. The bright metal sits at a jump in depth, beside a capacitor's tall black body. Depth softens it along the capacitor's edge, where its map runs from one depth to the other; the wavelet streaks gray into the black beside the bright metal, where neighboring pixels take their color from different frames.
How each works and its settings
- Pyramid: splits each frame into levels of detail and blends them separately, giving the most weight to the sharpest. One setting: Smoothness, from crisp and noisier to calm and softer.
- Depth: picks one depth per spot and takes each spot from the frame at that depth (which is why frames must be in focus order: blending frames 10 and 30 lands on frame 20). Settings: Smoothing, Radius, and under Advanced, Blend Range.
- Wavelet: merges the strongest detail at every scale into a sharp gray image, then gives each pixel the color of the frame whose brightness matches best. One setting: Denoise.