![]() |
XII Release 0.1.0
|
Compares two images and generates various outputs. More...
#include <TexComparer.h>
Public Member Functions | |
xiiResult | Compare () |
Executes the comparison and fill out the public variables to describe the result. | |
Public Attributes | |
xiiTexCompareDesc | 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 |
Compares two images and generates various outputs.