![]() |
Plasma Engine
2.0
|
Compares two images and generates various outputs. More...
#include <TexComparer.h>
Public Member Functions | |
plResult | Compare () |
Executes the comparison and fill out the public variables to describe the result. | |
Public Attributes | |
plTexCompareDesc | 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. | |
plUInt32 | m_OutputMSE = 0 |
The MSE of the difference image. | |
plImage | m_OutputImageDiff |
The (normalized) difference image. | |
plImage | m_OutputImageDiffRgb |
Only the RGB part of the (normalized) difference image. | |
plImage | m_OutputImageDiffAlpha |
Only the Alpha part of the (normalized) difference image. | |
plImage | m_ExtractedActualRgb |
Only the RGB part of the actual input image. | |
plImage | m_ExtractedExpectedRgb |
Only the RGB part of the reference input image. | |
plImage | m_ExtractedActualAlpha |
Only the Alpha part of the actual input image. | |
plImage | m_ExtractedExpectedAlpha |
Only the Alpha part of the reference input image. | |
plUInt8 | m_uiOutputMinDiffRgb = 0 |
Min/Max difference of the RGB and Alpha images. | |
plUInt8 | m_uiOutputMaxDiffRgb = 0 |
plUInt8 | m_uiOutputMinDiffAlpha = 0 |
plUInt8 | m_uiOutputMaxDiffAlpha = 0 |
Compares two images and generates various outputs.