/Image-Transform-DCT-and-IDCT

Image Procession Program HW4

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Image-Transform-DCT-and-IDCT

This project is based on the homework from Computer Vision courses in NTHU.

Usage of this project

  1. Choose input image file. (Here using 512x512 lena.png in gray scale as example)
  2. Execute the main.py using the command: python main.py
  3. Get the result images as below:

Original Image

original_image

DCT Transform

dct_image

IDCT Transform

idct_image

Error Image

erro_image