Flyoneme / dct

2D DFT and 2D DCT of images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C++ app using Qt4:

  • Discrete cosine transform (2D DCT) of image
  • Discrete Fourier transform (2D DFT) of image
  • Filter (convolution) images using 2D DFT or 2D DCT

Both DFT and DCT are calculated using FFT.

Packages:

sudo apt-get install qt4-qmake libqt4-dev build-essential

Compile:

qmake -project "QMAKE_CXXFLAGS += -std=c++0x"
qmake
make

Run:

./dct

Screenshot: Alt text

About

2D DFT and 2D DCT of images

License:MIT License


Languages

Language:C++ 99.9%Language:Shell 0.1%