git clone https://github.com/lalatgithub/image-segmentation-using-scikit-image.git
cd image-segmentation-using-scikit-image
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
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
This example shows how to segment an image with image labelling. The following steps are applied:
- Thresholding with automatic Otsu method
- Close small holes with binary closing
- Remove artifacts touching image border
- Measure image regions to filter small objects