An open API service indexing awesome lists of open source software.

https://github.com/klaudiozdrava/image-analysis

A Python project that was developed as a university assignment and the goal is to colorize an grayscale image using machine learning techniques.
https://github.com/klaudiozdrava/image-analysis

colorization image-processing kmeans-clustering numpy svm

Last synced: about 1 month ago
JSON representation

A Python project that was developed as a university assignment and the goal is to colorize an grayscale image using machine learning techniques.

Awesome Lists containing this project

README

          

# Image-Analysis
A Python project that was developed as a university assignment for the subject of Image Processing.
The program takes an input image and a reference dataset of photos. The goal is to colorize the greyscale image using a trained support vector machine.
To achieve that, we have implemented a variety of image processing techniques.
First, we change color spaces from RGB to LAB. Then, we apply the SLIC algorithm to find the group of superpixels for each image.
These segments along with SIFT and GABOR features are given as input for the SVM.
Using scikit-learn, we use machine learning techniques to predict the color of a superpixel using the dataset superpixels as reference.
The output of the program returns the colorized version of the input image.
To run the algorithm user should provide at runtime the absolute path of the folder that contains training images and the path of testing image.

![git](https://user-images.githubusercontent.com/47723760/196314012-701d8a0c-54d9-48f8-8f3a-ade85f824bb7.png)