Table of Contents

Enum DifferenceStyle

Namespace
Egami.Analysis
Assembly
Egami.dll
public enum DifferenceStyle

Fields

Absolute = 1

|a − b| of each color channel, times Amplify, as an opaque image: black where equal.

Highlight = 0

ImageMagick compare's picture: pixels that differ in HighlightColor and the rest in LowlightColor, both over a faded copy of the first image flattened onto white.

Examples

// ImageMagick compare's red-over-faded picture, and the plain per-channel difference turned up 8 times.
using Raster highlight = Raster.Difference(a, b);
using Raster gaps = Raster.Difference(a, b, DifferenceStyle.Absolute, new DifferenceOptions { Amplify = 8 });
highlight.Save("highlight.png");
gaps.Save("gaps.png");