struct EE::Graphics::Image::DiffResult¶
Overview¶
#include <image.hpp> struct DiffResult { // fields Image* diffImage { nullptr }; long long numDifferentPixels { 0 }; double maxDeltaE { 0.0 }; // construction ~DiffResult(); // methods bool areSame() const; };
Detailed Documentation¶
Fields¶
Image* diffImage { nullptr }
The visual diff image. Null if dimensions mismatched.
long long numDifferentPixels { 0 }
The number of pixels that exceeded the threshold.
double maxDeltaE { 0.0 }
The maximum perceptual difference (Delta E) found.