项目作者: atriwal

项目描述 :
Algorithmic Pointillism
高级语言: Jupyter Notebook
项目地址: git://github.com/atriwal/Points_Art.git
创建时间: 2018-04-04T03:04:14Z
项目社区:https://github.com/atriwal/Points_Art

开源协议:

下载


Points_Art

Points_Art is a technique of painting in which small distinct dots of color are applied in patterns to form an image.

The art process is done in these steps:

STEP 1 : Color Palette Creation




Firstly we need to choose the set of colors that resembles the color of the original image given as input.This is done by
running k-means and selecting the 10 dominating colors from the input image and then complementing the 10 dominant color to
have a set of 20 colors.

STEP 2 : Final Processing




Secondly, After having the set of colors we now have created randomised grid and then we shuffle it in order to have grid of
random order. Finally the main part is to color each pixel such that it is almost similar to the original image. So here in
order to carry out that we have computed probability of the similarities between the colors.

These are some of the results of our Project

Input

Output

Without random variation

With random variation

Tools used

  • Jupyter
  • OpenCV

Steps to run the code

  1. Take an input image
  2. Use pointilism.ipynb to generate the image.

Reference

The Solution is inspired by this paper:

Create Pointillism Art from Digital Images