Skip to content

Automatic colorization of grayscale image using SVM

Notifications You must be signed in to change notification settings

adavradou/SVM-colorization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SVM-colorization

Automatic colorization of grayscale image using SVM

For the image colorization, the following steps are performed:

  1. Conversion of RGB image to LAB color space
  2. Use of K-means clustering to reduce the number of image colors e.g. to 64.
  3. Image segmentation based on superpixels using SLIC algorithm
  4. SURF and Gabor feature extraction
  5. Train and use of SVM for color prediction
  6. Optimization using GraphCut algorithm

In the following image the original image alongside the SVM and GraphCut output are compared using 49 (α) and 304 (β) superpixels, respectively: results_training_superpixels

Additional results are shown here:

results

About

Automatic colorization of grayscale image using SVM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages