Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.
/ ToneRemover-OpenCV Public archive

Removes tones from an image to make it simpler

Notifications You must be signed in to change notification settings

MintzyG/ToneRemover-OpenCV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCV Tone Remover

Makes an image have any amount of tones desired

Input image Output image

How to use

  • Download and install OpenCV library
  • Clone this Repo and compile it
  • Drag and Drop any image file on the .exe
  • The resulting image will be saved to the folder where it originally came from as a png

How it works

  • The programs choses N random colors from the image (N specified by user)
  • It then tones down the image to those N colors using distance between points in space
  • The resulting image is compared to the original one using K-Means Clustering, if close looking enough, the program saves and exits
  • If the image is not close looking enough it keeps using K-Means Clustering until it closely resmembles the original, but now with N colors

Downfalls of this project

  • I failed to learn how to use CMake to statically compile OpenCV libraries into the my binary, therefor the user has to download the libraries if they desire to use the application
  • The method used is far from fast or good for the effect desired, however the method was chosen by my professor so I had no say in that
  • No pre-compiled binary was made available to the end user, making them have to link and compile the project, which is a confusing process

I pretend to:

  • I atleast pretend to comeback to this project and make available a pre-compiled binary but without the library still

About

Removes tones from an image to make it simpler

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages