Discrete transform which converts a signal into cosine power terms