DifferenceMapOptions Class

public sealed class DifferenceMapOptions

Constructors

NameDescription
DifferenceMapOptions()

DifferenceMapOptions()

DifferenceMapOptions.cs
public DifferenceMapOptions()

No documentation is available.

Properties

NameDescription
GainGets the factor applied to the differences of DifferenceMapKind.Absolute and DifferenceMapKind.Ssim before they are clamped to white. Defaults to 1; a gain of 10 shows a difference of 10% as white.
HighlightColorGets the color of the pixels that differ with DifferenceMapKind.Highlight, composited over the expected frame. Defaults to ImageMagick's #f1001ecc: red with an alpha of 0.8.
KindGets what the map shows. Defaults to DifferenceMapKind.Highlight.
LowlightColorGets the color of the pixels that do not differ with DifferenceMapKind.Highlight, composited over the expected frame. Defaults to ImageMagick's #ffffffcc: white with an alpha of 0.8, which fades the frame.
ThresholdGets the largest difference of the samples of a pixel, as a fraction of their range, that DifferenceMapKind.Highlight does not highlight. Defaults to 0: every difference is highlighted, as ImageMagick's compare does without -fuzz.

Gets the factor applied to the differences of DifferenceMapKind.Absolute and DifferenceMapKind.Ssim before they are clamped to white. Defaults to 1; a gain of 10 shows a difference of 10% as white.

public double Gain { get; init; }

Property value

double

Exceptions

ArgumentOutOfRangeException
The value is not positive and finite.

Gets the color of the pixels that differ with DifferenceMapKind.Highlight, composited over the expected frame. Defaults to ImageMagick's #f1001ecc: red with an alpha of 0.8.

public Rgba32 HighlightColor { get; init; }

Property value

Rgba32

Gets what the map shows. Defaults to DifferenceMapKind.Highlight.

public DifferenceMapKind Kind { get; init; }

Property value

DifferenceMapKind

Exceptions

ArgumentOutOfRangeException
The value is not a defined DifferenceMapKind.

Gets the color of the pixels that do not differ with DifferenceMapKind.Highlight, composited over the expected frame. Defaults to ImageMagick's #ffffffcc: white with an alpha of 0.8, which fades the frame.

public Rgba32 LowlightColor { get; init; }

Property value

Rgba32

Gets the largest difference of the samples of a pixel, as a fraction of their range, that DifferenceMapKind.Highlight does not highlight. Defaults to 0: every difference is highlighted, as ImageMagick's compare does without -fuzz.

public double Threshold { get; init; }

Property value

double

Exceptions

ArgumentOutOfRangeException
The value is negative or not finite.