Skip to content

An application that allows users to mix Fourier transform components (magnitude/phase or real/imaginary) components from up to four images into one, offering a powerful tool for creative and technical image manipulation.

Notifications You must be signed in to change notification settings

Ahmed-Hajhamed/Fourier-Transform-Image-Mixer

Repository files navigation

Fourier Transform Image Mixer

Python 3 11 12_30_2024 9_11_18 PM

A Python desktop application that allows users to mix Fourier transform components (magnitude/phase or real/imaginary) components from up to four images into one, offering a powerful tool for creative and technical image manipulation.


Features

  • Fourier Component Mixing: Mix components (magnitude/phase or real/imaginary) from multiple images.
  • Interactive Image Management:
    • Double-click to load images.
    • Double right-click to remove images.
  • Fourier Transform Display: View Fourier transform components of each image based on a combobox selection.
  • Adjustable Weights: Use sliders to control the weight of each image in the mixing operation.
  • Region Selector: Select inner (low frequencies) or outer (high frequencies) regions of the Fourier transform for the output.
  • Real-Time Feedback:
    • Two output viewports to display results.
    • Progress bar indicating the mixing process.

Installation

  1. Clone the repository:
    git clone https://github.com/Ahmed-Hajhamed/Fourier-Transform-Image-Mixer.git
  2. Install required dependencies:
pip install -r requirements.txt
  1. Usage: Run Main.py class:
python Main.py

Load images by double-clicking the corresponding labels. Use the combobox to select Fourier transform components to display. Adjust sliders to set weights for each image in the mixing operation. Use the region selector to refine the Fourier component regions. View the mixed result in the output viewports.

Requirements

Python: Version 3.8 or higher

Libraries:

OpenCV (cv2) PyQt5 QThread NumPy

Screenshots

-Double-click to Load and Image and use either Magnitude/Phase or Real/Imaginary Components: Python 3 11 12_30_2024 9_18_58 PM -Mixing Images using Low Frequency Components: Python 3 11 12_30_2024 9_09_57 PM -Mixing Using High Frequency Components: Python 3 11 12_30_2024 9_10_15 PM -Mixing can also be done using Real and Imaginary Components: Python 3 11 12_30_2024 9_11_32 PM -Right Double-click To remove an Image: Python 3 11 12_30_2024 9_12_27 PM

Contributing

Contributions are welcome! If you have suggestions for improvements or new features, feel free to open an issue or submit a pull request.

Contact

For questions or issues, please reach out via email: [email protected]

About

An application that allows users to mix Fourier transform components (magnitude/phase or real/imaginary) components from up to four images into one, offering a powerful tool for creative and technical image manipulation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages