This repository contains basic image processing operations implemented in Python. It includes functions for:
- Converting images to greyscale
- Applying binary thresholding using the Sobel operator and other methods
- Zoom functionality to inspect RGB, greyscale, and binary pixel values
git clone https://github.com/your-username/BasicOperationImageProcessing.git
cd BasicOperationImageProcessingpython -m venv venv
venv\Scripts\activatepython3 -m venv venv
source venv/bin/activatepip install -r requirements.txtRun the main script to start processing images:
python namefolder/namefile.pyThe Assets folder contains various resources used in the project, such as images and sample data. If you want to add more files, please place them in this folder.
If you want to run the code with different assets, modify the main script to use a different image or dataset. Ensure that you only change the filename while keeping the directory structure unchanged.
Example:
image_path = os.path.join(base_dir, "..", "Assets", "sunflower.jpg")