Enum StackMode
- Namespace
- Egami.Operations
- Assembly
- Egami.dll
How Stack(IReadOnlyList<Raster>, StackMode) combines the same channel of the same pixel across rasters.
public enum StackMode
Fields
Max = 3The largest value: star trails, light painting.
Mean = 0The mean: averages exposures and smooths noise.
Median = 1The median: removes things that appear in only a few of the rasters, such as passers-by.
Min = 2The smallest value.
Examples
// Average a burst of photos to smooth noise; the median removes things that appear in only a few frames.
using Raster mean = Raster.Stack([first, second, third], StackMode.Mean);
using Raster clean = Raster.Stack([first, second, third], StackMode.Median);