Struct StructuralSimilarityResult
The result of a Structural Similarity Index Measure texture comparison.
Implements
Inherited Members
Namespace: UnityEngine.TestTools.Graphics
Assembly: UnityEngine.TestTools.Graphics.dll
Syntax
public readonly struct StructuralSimilarityResult : ITextureComparisonResult
Properties
AverageIndexMeasure
Average SSIM when multiple reference - comparison images pairs are provided
Declaration
public float AverageIndexMeasure { get; init; }
Property Value
| Type | Description |
|---|---|
| float |
PerTextureIndexMeasure
SSIM value for each compared image.
Declaration
public float[] PerTextureIndexMeasure { get; init; }
Property Value
| Type | Description |
|---|---|
| float[] |
Methods
ToString()
Returns a string representation of the SSIM result.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string describing the result |