DifferenceMapOptions Class
Immutable options of ImageSimilarity.CreateDifferenceMap.
public sealed class DifferenceMapOptionsConstructors
| Name | Description |
|---|---|
| DifferenceMapOptions() |
DifferenceMapOptions()
DifferenceMapOptions.cspublic DifferenceMapOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Gain | 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. |
| HighlightColor | 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. |
| Kind | Gets what the map shows. Defaults to DifferenceMapKind.Highlight. |
| LowlightColor | 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. |
| Threshold | 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. |
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; }HighlightColor
DifferenceMapOptions.csGets 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
Gets what the map shows. Defaults to DifferenceMapKind.Highlight.
public DifferenceMapKind Kind { get; init; }LowlightColor
DifferenceMapOptions.csGets 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
Threshold
DifferenceMapOptions.csGets 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; }