This kind of reminds me of DCT in lossy image compression, but in reverse.