z*****m 发帖数: 98 | 1 opencv里有一段dct的程序,有没有人知道,background的paper?
static void
icvCalcDCTMatrix( work_t * cfs, int n )
{
static const double sqrt2 = 1.4142135623730950488016887242097;
static const double pi = 3.1415926535897932384626433832795;
static const double sincos[16 * 2] = {
1.00000000000000000, 0.00000000000000006,
0.70710678118654746, 0.70710678118654757,
0.49999999999999994, 0.86602540378443871,
0.38268343236508978, 0.92387953251128674,
0.30901699437494740, 0 |
|