Table of Contents

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 = 3

The largest value: star trails, light painting.

Mean = 0

The mean: averages exposures and smooths noise.

Median = 1

The median: removes things that appear in only a few of the rasters, such as passers-by.

Min = 2

The 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);