An image tool for color clustering based on K-means.
You can get the last version from Release page.
Double click on Image Color Analysis Tool.mlappinstall
to install the application, and you can find it in Matlab>App
.
ClickFile>Open
to select a image.
Click Analysis>Set Cluster Number
to set cluster number for k-means clustering.
Click Analysis>Run
to start analysis the color distribution.
There are three panes:
Origin
: the image you import.Cluster
: the image after k-means clustering.Color Hist
: the histogram of main colors in image.
You can adjust Cluster Number
by comparing the image between Origin
and Cluster
.
Also, the color number in Color Histogram
can be adjust by the slider
.
Other features:
File>Save>Cluster Image
: Export the cluster image.File>Save>Color Hist Image
: Export the figure of color histogram.