https://github.com/buildwithlal/image-segmentation-using-scikit-image
This repo shows how to segment an image with image labelling using scikit-image
https://github.com/buildwithlal/image-segmentation-using-scikit-image
image-segmentation python scikit-image
Last synced: 12 months ago
JSON representation
This repo shows how to segment an image with image labelling using scikit-image
- Host: GitHub
- URL: https://github.com/buildwithlal/image-segmentation-using-scikit-image
- Owner: BuildWithLal
- Created: 2023-12-21T10:27:24.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-21T11:04:53.000Z (about 2 years ago)
- Last Synced: 2025-01-02T00:42:32.814Z (about 1 year ago)
- Topics: image-segmentation, python, scikit-image
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### How to build and execute
###### Clone repo
```
git clone https://github.com/lalatgithub/image-segmentation-using-scikit-image.git
```
###### Switch to project dir
```
cd image-segmentation-using-scikit-image
```
###### Create virtual env
```
python -m venv .venv
```
###### Activate virtual env
```
source .venv/bin/activate
```
###### Install dependencies
```
pip install -r requirements.txt
```

###### Run project
Once the packages are installed. Run spyder IDE by running this from the same directory
```
spyder
```
Now hit the RUN button from the top toolbar in Spyder IDE and see the magic on right side of your IDE
##### What is this all about?
###### Segment an Image by Labeling image regions
This example shows how to segment an image with image labelling. The following
steps are applied:
1. Thresholding with automatic Otsu method
2. Close small holes with binary closing
3. Remove artifacts touching image border
4. Measure image regions to filter small objects