https://github.com/harmonicode/image-mixer
A PyQt5-based application for real-time image processing and reconstruction using frequency components like magnitude, phase, real, and imaginary parts. Adjust brightness and contrast, and mix images with ease.
https://github.com/harmonicode/image-mixer
fourier-transform image-processing numpy opencv pyqt5 python signal-processing
Last synced: 4 months ago
JSON representation
A PyQt5-based application for real-time image processing and reconstruction using frequency components like magnitude, phase, real, and imaginary parts. Adjust brightness and contrast, and mix images with ease.
- Host: GitHub
- URL: https://github.com/harmonicode/image-mixer
- Owner: HarmoniCode
- Created: 2024-11-30T11:43:17.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-24T01:00:16.000Z (about 1 year ago)
- Last Synced: 2025-05-23T18:15:31.711Z (8 months ago)
- Topics: fourier-transform, image-processing, numpy, opencv, pyqt5, python, signal-processing
- Language: Python
- Homepage:
- Size: 711 KB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Image-Mixer





## Overview
Image-Mixer is a PyQt5-based application that allows users to load, adjust, and mix images using various frequency components. The application provides real-time adjustments for brightness and contrast, and allows users to reconstruct images using different frequency components such as magnitude, phase, real, and imaginary parts.
## Features
- Load and display up to four images.
- Adjust brightness and contrast in real-time.
- Select and display different frequency components (magnitude, phase, real, imaginary).
- Reconstruct images using weighted combinations of frequency components.
- Support for selecting regions inside or outside the image for reconstruction.
## Requirements
- Python 3.x
- numpy
- opencv-python
- PyQt5
- matplotlib
## Installation
1. Clone the repository:
```sh
git clone https://github.com/HarmoniCode/Image-Mixer.git
```
2. Navigate to the project directory:
```sh
cd Image-Mixer
```
3. Install the required packages:
```sh
pip install -r requirements.txt
```
## Usage
1. Run the application:
```sh
python main.py
```
2. Load images by double-clicking on the image placeholders.
3. Adjust brightness and contrast by dragging the mouse over the image.
4. Select different frequency components using the radio buttons.
5. Adjust the weights of the components using the sliders.
6. View the reconstructed image in the output port.
## License
This project is licensed under the MIT License.