Skip to content

Team-19-DSP-Tasks/FourierTransformMixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fourier Transform Image Mixer

Table of Contents:

Description

The Fourier Transform Mixer is a desktop program designed to illustrate the relative importance of magnitude and phase components while emphasizing frequencies' contributions to a 2D signal (image). The software provides image viewers, output ports, brightness/contrast adjustment, components mixer, regions mixer, and real-time mixing features to offer a comprehensive understanding of Fourier transformations.

Project Features

Images Viewers:

  • Open and view four grayscale images in separate viewports.
  • Colored images are coverted automatically to grayscale.
  • Unified sizes of opened images based on the smallest size.
  • Display Fourier Transform (FT) components (Magnitude, Phase, Real, Imaginary) for each image.
  • Easy browse: Change images by double-clicking on their viewer.

Two Output Ports:

  • Display mixer results in two output viewports similar to input image viewports.
  • User control over which viewport shows the mixer result.

Brightness/Contrast:

  • Change brightness/contrast (window/level) via mouse dragging.
  • Applicable to any of the four components.

Components Mixer:

  • Output image is the Inverse Fourier Transform (ifft) of a weighted average of the FT of the input four images.
  • Customize weights of each image FT via sliders.

Regions Mixer:

  • Pick regions (inner or outer) for each FT component.
  • Draw rectangles on each FT for region selection.
  • Customize size/percentage of the region rectangle via sliders or resize handles.

Realtime Mixing:

  • Display progress bar during the ifft operation.
  • Cancel previous operation if a new mixing request is made while the previous one is still running (Check Threads!).

Executing program

To be able to use our app, you can simply follow these steps:

  1. Install Python3 on your device. You can download it from Here.
  2. Install the required packages by the following command.
pip install -r requirements.txt
  1. Run the file with the name "ftMixerUI.py"

Help

If you encounter any issues or have questions, feel free to reach out.

Contributors

Gratitude goes out to all team members for their valuable contributions to this project.

License

All rights reserved © 2023 to Team 19 - Systems & Biomedical Engineering, Cairo University (Class 2025)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages