Skip to content

Commit 322a51b

Browse files
committed
add requirements and update the readme file
1 parent 75f4fd5 commit 322a51b

File tree

2 files changed

+79
-7
lines changed

2 files changed

+79
-7
lines changed

README.md

+74-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,74 @@
1-
class filters:
2-
filter1 -> nom
3-
filter2 -> nom
4-
filter3 ->
5-
filter4
6-
filter5
7-
filter6
1+
# Advanced Image Editor Using Python
2+
3+
## Description
4+
5+
This Advanced Image Editor is a simple yet powerful tool built using Python, OpenCV, and NumPy. It allows users to apply various filters and image processing techniques to their images through a graphical user interface. The application is designed for both educational purposes and practical use cases, providing a clear demonstration of basic image processing operations.
6+
7+
## Features
8+
9+
- **Gaussian Filter**: Smoothens the image using a Gaussian kernel.
10+
- **High Pass Filter**: Enhances the edges in the image.
11+
- **Histogram Equalization**: Improves the contrast of the image.
12+
- **Contour Detection**: Detects and draws contours in the image.
13+
- **Gaussian Noise Addition**: Adds Gaussian noise to the image.
14+
- **Mean Filter**: Applies a mean filter to the image.
15+
- **Low Pass Filter**: Smoothens the image using a low pass filter.
16+
- **Min-Max Smoothing**: Applies min-max smoothing to the image.
17+
- **Median Filter**: Applies a median filter to the image.
18+
- **Hybrid Median Filter**: Applies a hybrid median filter to the image.
19+
- **Morphological Operations**: Performs dilate, erode, open, and close operations on the image.
20+
21+
## Requirements
22+
23+
- Python 3.x
24+
- OpenCV
25+
- NumPy
26+
- SciPy
27+
- PyQt5
28+
29+
## Installation
30+
31+
1. **Clone the repository:**
32+
33+
```bash
34+
git clone https://github.com/devcom33/Advanced-Image-Editor-Using-Python.git
35+
cd Advanced-Image-Editor-Using-Python
36+
```
37+
38+
2. **Create and activate a virtual environment (optional but recommended):**
39+
40+
```bash
41+
python -m venv venv
42+
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
43+
```
44+
45+
3. **Install the required packages:**
46+
47+
```bash
48+
pip install -r requirements.txt
49+
```
50+
51+
## Usage
52+
53+
1. **Run the GUI application:**
54+
55+
```bash
56+
python ui_app.py
57+
```
58+
59+
2. **Load an image:**
60+
- Click on `File` -> `Open` and select the image you want to edit.
61+
62+
3. **Apply filters:**
63+
- Use the toolbar and menu options to apply various edits and effects to your image.
64+
65+
4. **Save the image:**
66+
- Click on `File` -> `Save` to save your edited image.
67+
68+
## Directory Structure
69+
70+
Advanced-Image-Editor-Using-Python/
71+
├── README.md
72+
├── requirements.txt
73+
├── filter_image.py
74+
├── ui_app.py

requirements.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Python 3.x
2+
OpenCV
3+
NumPy
4+
SciPy
5+
PyQt5

0 commit comments

Comments
 (0)