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

Compares two images and generates various outputs. More...

#include <TextureComparer.h>

Public Member Functions

 xiiTextureComparer ()
 Copyright (c) Theophilus Eriata. All Rights Reserved.
xiiResult Compare ()
 Executes the comparison and fill out the public variables to describe the result.

Public Attributes

xiiTextureComparerDescription m_Descriptor
 The input data to compare.
bool m_bExceededMSE = false
 If true, the mean-square error of the difference was larger than the threshold.
xiiUInt32 m_OutputMSE = 0
 The MSE of the difference image.
xiiImage m_OutputImageDiff
 The (normalized) difference image.
xiiImage m_OutputImageDiffRgb
 Only the RGB part of the (normalized) difference image.
xiiImage m_OutputImageDiffAlpha
 Only the Alpha part of the (normalized) difference image.
xiiImage m_ExtractedActualRgb
 Only the RGB part of the actual input image.
xiiImage m_ExtractedExpectedRgb
 Only the RGB part of the reference input image.
xiiImage m_ExtractedActualAlpha
 Only the Alpha part of the actual input image.
xiiImage m_ExtractedExpectedAlpha
 Only the Alpha part of the reference input image.
xiiUInt8 m_uiOutputMinDiffRgb = 0
 Min/Max difference of the RGB and Alpha images.
xiiUInt8 m_uiOutputMaxDiffRgb = 0
xiiUInt8 m_uiOutputMinDiffAlpha = 0
xiiUInt8 m_uiOutputMaxDiffAlpha = 0

Detailed Description

Compares two images and generates various outputs.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/Texture/Converter/TextureComparer.h
  • /home/runner/work/XII/XII/Source/Engine/Texture/Converter/Implementation/TextureComparer.cpp