This repository contains code and resources for digital image processing using Python with the OpenCV library and MATLAB. Digital image processing is a field that involves the manipulation and analysis of images to extract useful information or enhance certain features. This project focuses on leveraging the power of Python and MATLAB for various image processing tasks.
Make sure you have Python installed on your system. You can install the required dependencies using the following:
pip install opencv-python
Ensure you have MATLAB installed on your machine. The code provided here is compatible with MATLAB R2018b and later versions.
- Clone the repository:
git clone https://github.com/promit-3o20/DIP.git
cd DIP
-
Navigate to the specific task or algorithm folder.
-
Run the Python scripts using:
python script_name.py
For MATLAB scripts, open MATLAB and run the script by entering:
script_name
-
Image Filtering:
- Apply various filters such as Gaussian, Median, and Sobel.
-
Image Enhancement:
- Use techniques like histogram equalization and contrast stretching.
-
Object Detection:
- Utilize OpenCV for object detection tasks using pre-trained models.
-
Image Segmentation:
- Perform image segmentation using different algorithms.
-
Feature Extraction:
- Extract features from images using OpenCV and MATLAB functions.
Contributions are welcome! Feel free to open issues or submit pull requests.
- Fork the repository.
- Create your feature branch:
git checkout -b feature-name
. - Commit your changes:
git commit -m 'Add some feature'
. - Push to the branch:
git push origin feature-name
. - Open a pull request.
This project is licensed under the MIT License.
Feel free to explore and adapt the code for your own image processing tasks. Happy coding!