XII Release 0.1.0
Loading...
Searching...
No Matches
xiiTextureComparerDescription Class Reference

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <TextureComparer.h>

Public Attributes

xiiString m_sExpectedFile
 Path to a file to load as a reference image. Optional, if m_ExpectedImage is already filled out.
xiiString m_sActualFile
 Path to a file to load as the input image. Optional, if m_ActualImage is already filled out.
xiiImage m_ExpectedImage
 The reference image to compare. Ignored if m_sExpectedFile is filled out.
xiiImage m_ActualImage
 The image to compare. Ignored if m_sActualFile is filled out.
bool m_bRelaxedComparison = false
xiiUInt32 m_MeanSquareErrorThreshold = 100
 If the comparison yields a larger MSE than this, the images are considered to be too different.

Detailed Description

Copyright (c) Theophilus Eriata. All Rights Reserved.

Input options for xiiTextureComparer

Member Data Documentation

◆ m_bRelaxedComparison

bool xiiTextureComparerDescription::m_bRelaxedComparison = false

If enabled, the image comparison allows for more wiggle room. For images containing single-pixel rasterized lines.


The documentation for this class was generated from the following file: