nvidia-texture-tools/src/nvimage/ErrorMetric.h

23 lines
800 B
C
Raw Normal View History

2010-11-11 19:13:01 +00:00
#include "nvimage.h"
namespace nv
{
class FloatImage;
2015-03-24 19:14:49 +00:00
float rmsColorError(const FloatImage * ref, const FloatImage * img, bool alphaWeight);
float rmsAlphaError(const FloatImage * ref, const FloatImage * img);
2010-11-11 19:13:01 +00:00
2015-03-24 19:14:49 +00:00
float cieLabError(const FloatImage * ref, const FloatImage * img);
float cieLab94Error(const FloatImage * ref, const FloatImage * img);
float spatialCieLabError(const FloatImage * ref, const FloatImage * img);
2010-11-11 19:13:01 +00:00
2015-03-24 19:14:49 +00:00
float averageColorError(const FloatImage * ref, const FloatImage * img, bool alphaWeight);
float averageAlphaError(const FloatImage * ref, const FloatImage * img);
2011-03-06 22:23:24 +00:00
float averageAngularError(const FloatImage * img0, const FloatImage * img1);
float rmsAngularError(const FloatImage * img0, const FloatImage * img1);
2010-11-11 19:13:01 +00:00
} // nv namespace