DCT transformation (interactive principle and application matlab)