Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

asselinpaul/ImageSeg-KMeans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Image Segmentation using k-means clustering

The program reads in an image, segments it using K-Means clustering and outputs the segmented image.

python imageSegmentation.py K inputImageFilename outputImageFilename

It is worth playing with the number of iterations, low numbers will run quicker.

The result is an over-segmented image. With the correct parameters, it can be used to partition an image for further processing. Here is an example of that: Make3D

Output

Burma Burma

Duomo Duoma

tunnel tunnel

About

๐Ÿ’  Image Segmentation using K-Means

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages