CS775 Open Project

Depixelizing Pixel Art

Jai Mashalkar ( 113050007 ), Ahana Pradhan ( 113050039 )


EPX                                             SuperEagle                                              Hq4x                                                   Our algorithm

Background

In this project, our aim is to upscale very low resolution pixel art images to any desired level while preserving the very small features. This is accomplished by first identifying all the features in the image, reshaping the pixels accordingly and then fitting splines along the boundary of every feature so that the output image becomes quite smooth at any desired resolution. In order to get a smooth gradation of colors in the final image, color diffusion is done.

User Instruction

  1. Command for compilation :
    make
  2. Command for execution:
    ./depixel < image-name >
  3. Key instructions:

Implementation details

The basic data structure used contains lists of points, edges and pixels. Points have indices of edges they are a part of, edges have indices of their endpoints and cells they belong to. Pixels have color values, edges and some connectivity information. Details about the individual parts are as mentioned below:

References

[1] Depixelizing pixel art, Kopf, Lischinski, ACM Transactions on Graphics (SIGGRAPH 2011)
[2] Vectorization of Pixel Art, Christian Loos. http://www.multimedia-computing. de/mediawiki//images/3/37/Diploma\ _Thesis-ChristianLos.pdf
[3] http://research.microsoft.com/en-us/um/people/kopf/pixelart/supplementary/multi_comparison.html