#include "../../idlib/precompiled.h"
#include "math.h"
#include "CDIB.h"
Go to the source code of this file.
#define BIG_DISTANCE 10000000L |
#define DIST |
( |
|
r1, |
|
|
|
g1, |
|
|
|
b1, |
|
|
|
r2, |
|
|
|
g2, |
|
|
|
b2 |
|
) |
| |
Value:(long) (3
L*(
long)((r1)-(r2))*(
long)((r1)-(r2)) + \
4
L*(
long)((g1)-(g2))*(
long)((g1)-(g2)) + \
2
L*(
long)((b1)-(b2))*(
long)((b1)-(b2)))
Definition at line 44 of file CDIB.cpp.