|
|
@@ -105,6 +105,7 @@ static float *fullgauss(float const *src, float mat[NN][NN]) |
|
|
|
return dest; |
|
|
|
} |
|
|
|
|
|
|
|
#if 0 |
|
|
|
static float fulldist(float const *p1, const float *p2) |
|
|
|
{ |
|
|
|
float error = 0.; |
|
|
@@ -119,6 +120,7 @@ static float fulldist(float const *p1, const float *p2) |
|
|
|
|
|
|
|
return error / (WIDTH * HEIGHT); |
|
|
|
} |
|
|
|
#endif |
|
|
|
|
|
|
|
static float dist(float const *p1, float const *p2, float max) |
|
|
|
{ |
|
|
|