Skip to content

An image segmentation by K-means cluster algorithm with c++.

Notifications You must be signed in to change notification settings

zq1335030905/image_segmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image_segmentation

An image segmentation by K-means cluster algorithm with c++. K-means cluster centers update according to three elements: 1.color, 2.coordinate, 3.texture. You can adjust the weight of them in the code.

Environment setting

VS2015 OpenCV3.1.0 Debug:x64

Demo

Test image:

Test Image

Labeled image:

Labeled Image

Segmentation result image:

Segmentation Image

Running result:

Running Result

About

An image segmentation by K-means cluster algorithm with c++.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages