FImageComparer

Windows
MacOS
Linux

References

Module

ScreenShotComparisonTools

Header

/Engine/Source/Developer/ScreenShotComparisonTools/Public/ImageComparer.h

Include

#include "ImageComparer.h"

Syntax

class FImageComparer

Functions

Name Description

Public function

FImageCompar...

 

Compare

(
    const FString& ImagePathA,
    const FString& ImagePathB,
    FImageTolerance Tolerance,
    const FString& OutDeltaPath
)

Public function

FImageCompar...

 

Compare

(
    const FComparableImage* ImageA,
    const FComparableImage* ImageB,
    FImageTolerance Tolerance,
    const FString& OutDeltaPath
)

Public function

double

 

CompareStructuralSimilarity

(
    const FString& ImagePathA,
    const FString& ImagePathB,
    EStructuralSimilarityComponent InCo...,
    const FString& OutDeltaPath
)

https://en.wikipedia.org/wiki/Structural_similarity

Public function

double

 

CompareStructuralSimilarity

(
    const FComparableImage* ImageA,
    const FComparableImage* ImageB,
    EStructuralSimilarityComponent InCo...,
    const FString& OutDeltaPath
)

https://en.wikipedia.org/wiki/Structural_similarity

Enums