/ Layer Blending Modes
/ Stacking Blend Modes
§ 126.96.36.199 - Median Stack
Median stacking requires a minimum of three layer
s to work properly.
The median values for all the pixels in all the adjacent layers in this mode are computed and promoted into the master image to sub-pixel accuracy.
Because of the amount of computation involved, this layer
mode is slower compared to most others. Be aware of this when you are processing larger images.
This layer mode obeys the center operator to facilitate layer rotation, and the layer offset (translation) can also be adjusted using ←, →, ↑, ↓ and home, optionally in combination with control, opt/alt and shift for variations as follows:
home = X and Y offsets set to zero (layer aligns to upper left)
shift+home = layer aligns to upper right
control+home = layer aligns to lower left
shift+control+home = layer aligns to lower right
opt/alt+home = layer aligns to center
opt/alt+←, →, ↑, or ↓ = layer shifts 100 pixels
shift+←, →, ↑, or ↓ = layer shifts 10 pixels
←, →, ↑, or ↓ = layer shifts 1 pixel
shift+control+←, →, ↑, or ↓ = layer shifts 1/10th of a pixel
This layer mode also has an inherent rotation about that center that is set by using the following keys:
+ (shift+=) - clockwise 1 degree
_ (shift+-) - counterclockwise 1 degree
= - clockwise 10th of a degree
- - counterclockwise 10th of a degree
0 - clockwise 100th of a degree
9 - counterclockwise 100th of a degree
8 - reset rotation to 0 degrees
|How to Shoot a Median Stack|
First, use a quality tripod. The camera needs to be as still as possible.
Second, use a remote shutter release, a voice command, or an intervalometer, again in the name of stability.
Third, use manual mode on your camera; you do not want the exposure of the image to vary based on the subject matter.
Fourth, always use manual focus.
Fifth, see to it that you shoot in an environment with consistent lighting. Again, that's part of getting the exposure consistent from shot to shot.
Use these keys along to change the amount of rotation. These keystrokes must be typed when the layer dialog is active and the layer you want to affect is selected as the current layer.
When processing a stack of astrophotos, for instance, the procedure is to simply set all layers to median mode and then adjust the layer positions and rotation of all but the top layer, which is the layer everything else aligns to in this mode.
Median mode is also useful for creating images of stable objects while getting rid of transient ones. For instance, if you are shooting pictures of a street scene from a tripod, cars and pedestrians and so forth can appear in random places in various shots. If you take enough shots and median stack them, the transient objects will generally disappear with median processing. You'd end up with an image of an empty street.
Unlike shooting astrophotos, where the subjects move and rotate from shot to shot, when shooting multiple shots of stable objects from a tripod, you should not have to align or rotate the resulting images; they should just stack as-is.
Median blend mode
All of the layers block part of the subject with a blue ellipse
Median resolves the subject despite this
Median blend mode
Three shots of stars in median mode. Note the
level of noise reduction with just 3 layers.
Document Keyboard Navigation
, Previous Page
. Next Page
This manual was generated with wtfm
wtfm uses aa_macro and SqLite
wtfm and aa_macro are coded in python 2.7
This Documentation and Associated Application Executables are Public Domain