Skip to content

Fast implementation of the K-Means clustering algorithm adapted to work on 3D image arrays in MATLAB.

License

Notifications You must be signed in to change notification settings

jackyarndley/matlab-kmeans

Repository files navigation

matlab-kmeans

A fast, vectorised implementation of the K-Means clustering algorithm intended for use with image clustering.

Usage

The vectorised implementation of the algorithm is contained within KMeansRGB.m. This algorithm needs to be supplied with starting points which are generally randomly sampled from within the image colour sample space. An implementation of this is within SelectKRandomPoints.m. To generate an image from the clustered points, pass the output to CreateKColourImage.m.

About

Fast implementation of the K-Means clustering algorithm adapted to work on 3D image arrays in MATLAB.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages