Skip to content

K-means & Gaussian Mixture Model Implementation in C++ / KECE471 Computer Vision

Notifications You must be signed in to change notification settings

ingyuseong/Computer-Vision-K-means-EM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

K-means & Gaussian Mixture Model Implementation

  • KECE471 Computer Vision (Prof. Chang-Su Kim)
  • C++ Implementation of 1-dimensional K-means & Gaussian Mixture Model for gray-scale image segmentation

Result

  • The results of applying 1D K-means clustering & GMM method to each image with the number of clusters, $k$ = 2, 4, or 8, are as follows.
  • Note that each cluster's pixel value is the average gray level.

Original Input Image

KU.raw
image

Gundam.raw
image

Golf.raw
image

1D K-means Clustering

$k = 2$, KU.raw

Image Log
image image

$k = 4$, KU.raw

Image Log
image image

$k = 8$, KU.raw

Image Log
image image

$k = 2$, Gundam.raw

Image Log
image image

$k = 4$, Gundam.raw

Image Log
image image

$k = 8$, Gundam.raw

Image Log
image image

$k = 2$, Golf.raw

Image Log
image image

$k = 4$, Golf.raw

Image Log
image image

$k = 8$, Golf.raw

Image Log
image image

Gaussian Mixture Model

$k = 2$, KU.raw

Image Log
image image

$k = 4$, KU.raw

Image Log
image image

$k = 8$, KU.raw

Image Log
image image

$k = 2$, Gundam.raw

Image Log
image image

$k = 4$, Gundam.raw

Image Log
image image

$k = 8$, Gundam.raw

Image Log
image image

$k = 2$, Golf.raw

Image Log
image image

$k = 4$, Golf.raw

Image Log
image image

$k = 8$, Golf.raw

Image Log
image image

About

K-means & Gaussian Mixture Model Implementation in C++ / KECE471 Computer Vision

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published