2010-11-11 19:13:01 +00:00
|
|
|
|
|
|
|
#include "nvimage.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace nv
|
|
|
|
{
|
|
|
|
class FloatImage;
|
|
|
|
|
|
|
|
float rmsColorError(const FloatImage * img, const FloatImage * ref, bool alphaWeight);
|
|
|
|
float rmsAlphaError(const FloatImage * img, const FloatImage * ref);
|
|
|
|
|
|
|
|
float cieLabError(const FloatImage * img, const FloatImage * ref);
|
|
|
|
float spatialCieLabError(const FloatImage * img, const FloatImage * ref);
|
|
|
|
|
2011-03-06 22:23:24 +00:00
|
|
|
float averageColorError(const FloatImage * img, const FloatImage * ref, bool alphaWeight);
|
|
|
|
float averageAlphaError(const FloatImage * img, const FloatImage * ref);
|
|
|
|
|
|
|
|
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
|