Image Processing Tools is a Python-based application that provides a graphical user interface (GUI) for performing various image processing operations. It includes functions for Fourier transformations, filtering, ROI analysis, and morphological operations like erosion and dilation. Additionally, it offers a range of features for image enhancement, restoration, segmentation, measurements, registration, compression, and visualization.
- Histogram equalization for improving contrast and distribution of pixel intensities.
- Adaptive histogram equalization for enhancing local contrast in different regions.
- Gamma correction for adjusting overall brightness and contrast.
- Noise reduction using filters such as median filter, Gaussian filter, and bilateral filter.
- Image deblurring to recover sharpness and reduce blurriness caused by motion or defocus.
- Thresholding techniques for separating objects from the background based on pixel intensity.
- Edge detection algorithms like Canny, Sobel, and Laplacian for detecting and extracting edges.
- Clustering algorithms such as K-means and watershed for grouping pixels into meaningful regions.
- Calculation of image properties such as area, perimeter, centroid, and bounding box.
- Object counting and labeling for quantifying the number of distinct objects in an image.
- Shape analysis to extract features like circularity, elongation, and aspect ratio.
- Alignment of multiple images to compensate for geometric or spatial differences.
- Transformation functions like translation, rotation, scaling, and affine transformations.
- Lossless compression techniques such as Huffman coding and Run-Length Encoding (RLE).
- Lossy compression techniques like Discrete Cosine Transform (DCT) and JPEG compression.
- Image display with zooming and panning capabilities.
- Image annotation with text, arrows, and shapes for highlighting specific regions.
To use the image processing tools, follow these steps:
- Install the required dependencies mentioned in the "Installation" section.
- Run the main application script (
main.py
) using a Python interpreter. - The GUI will be displayed, providing various options for image processing.
- Load an image from your local system or capture one using a connected camera.
- Choose the desired image processing operation from the available tools.
- Adjust the parameters or select the region of interest (if applicable).
- Apply the chosen operation and view the resulting image.
- Save the processed image if desired.
To install and set up the image processing tools, follow these steps:
- Clone the project repository from the GitHub URL:
https://github.com/your-username/image-processing-tools.git
. - Navigate to the project directory on your local system.
- Create a virtual environment (optional but recommended) using
python -m venv env
. - Activate the virtual environment:
- On Windows:
.\env\Scripts\activate
- On macOS/Linux:
source env/bin/activate
- On Windows:
- Install the required dependencies by running
pip install -r requirements.txt
.
Contributions to this image processing tool project are welcome. If you