Metric.cpp File Reference

#include "Metric.h"
#include "CompareArgs.h"
#include "RGBAImage.h"
#include "LPyramid.h"
#include <math.h>
#include <cstdio>
Include dependency graph for Metric.cpp:
This graph shows which files directly or indirectly include this file:

Defines

#define M_PI   3.14159265f

Functions

float tvi (float adaptation_luminance)
float csf (float cpd, float lum)
float mask (float contrast)
void AdobeRGBToXYZ (float r, float g, float b, float &x, float &y, float &z)
void XYZToLAB (float x, float y, float z, float &L, float &A, float &B)
bool Yee_Compare (CompareArgs &args)

Define Documentation

#define M_PI   3.14159265f

Function Documentation

void AdobeRGBToXYZ ( float  r,
float  g,
float  b,
float &  x,
float &  y,
float &  z 
)

Referenced by XYZToLAB(), and Yee_Compare().

float csf ( float  cpd,
float  lum 
)

References angle_axis::a, notifier::f, and modifier::result.

Referenced by Yee_Compare().

float mask ( float  contrast  ) 

References angle_axis::a, notifier::f, and modifier::result.

Referenced by Yee_Compare().

float tvi ( float  adaptation_luminance  ) 

References notifier::f, and modifier::result.

Referenced by Yee_Compare().

void XYZToLAB ( float  x,
float  y,
float  z,
float &  L,
float &  A,
float &  B 
)

References AdobeRGBToXYZ(), and notifier::f.

Referenced by Yee_Compare().

bool Yee_Compare ( CompareArgs args  ) 

Generated on Mon Mar 21 07:36:22 2011 for K-3D by doxygen 1.6.3