Skip to content

dassencio/image-dft

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Functional tests Static code analysis

Description

image-dft is a script (written in Python 3) which computes and displays the inverse DFTs of the magnitude and phase components of the DFT of an input image. It implements the algorithm described here.

License

All code from this project is licensed under the GPLv3. See the LICENSE file for more information.

Required modules

The following modules are used:

  • matplotlib
  • numpy

You can install them with the following command:

pip3 install matplotlib numpy

Usage instructions

The script can be executed as in the following example:

./image-dft -i image.jpg

To enhance the contrast of the generated images (with histogram equalization), add -e to the command above. Here is an example of the displayed output (with histogram equalization enabled):

example output

For more details on the parameters which image-dft can take, run ./image-dft -h.

Contributors & contact information

Diego Assencio / diego@assencio.com

About

A script for analyzing discrete Fourier transforms of images.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published