Skip to main content

Interface: CompareImagesResult

Properties​

match​

match: boolean


maxAbsoluteDelta?​

optional maxAbsoluteDelta?: number

Maximum absolute difference over all channels


maxRelativeDelta?​

optional maxRelativeDelta?: number

Maximum relative difference (delta / ref) over all channels where ref > 0


mismatchedPixels?​

optional mismatchedPixels?: number


mismatchSamples?​

optional mismatchSamples?: MismatchSample[]

Present when includeMismatchSamples is set and there are mismatches


rootMeanSquaredError?​

optional rootMeanSquaredError?: number

Root mean squared error over all channel values