Skip to content

kkemmere/ImageProcessing-Otsu-Kmeans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Processing Otsu's method of thresholding

Image processing project using Otsu's method of thresholding written in Python on Jupyter Notebook
The whole idea for this project was for me to test and compare Otsu's method to kNN/K-Means thresholding

Created by Kevin Kemmerer in Digital Image Processing

  • kNN(k-nearest neighbor) initially requires some already known information so K-means thesholding was chosen instead.
  • This K-means algo requires changing k value in the code depending on the number of colors you want the final image to contain.
  • K-Means is a Machine Learning algorithm and in this instance is used for Clustering K amount of clusters

Clustering: Is the process of using Machine Learning and algorithms to identify how different types of data are related and creating new segments based on those relationships.

Original Input Image "demo.jpg"

Otsu

Small GUI so user can input image. In this case "demo.jpg" was input

Otsu

Otsu method of thresholding applied to "demo.jpg"

Otsu

K-Means Algorithm applied to "demo.jpg" with K value of 3. (3 Colors shown in image)

Otsu

About

Image Processing project using Otsu's method of thresholding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors