Skip to content

As-rigid-as-possible image deformation in Python and C

Notifications You must be signed in to change notification settings

SokolovYaroslav/dzo-arap

 
 

Repository files navigation

This was a semestral project for a Digital Image Processing class at CTU, in summer semester 2014/2015.

The goal was to implement as-rigid-as-possible real-time image deformation based on following papers:

In reports folder of this repository are included presentation and final report, both written in Slovak but including images of achieved results.

Implementation

Application was implemented in Python 3.4 64bit with computationally extensive parts written in C. Python libraries used were: numpy, Pillow and TkInter.

For compilation of the library there's a very very minimal makefile added. Application wasn't tested on anything else but Windows 7 64bit.

For starting application use main.py, in which there's a hardcoded path to image.

For adding and moving control point use left mouse button, for removing use right mouse button.

Examples of results

Calvin initial Calvin deformed

Calvin & Hobbes initial Calvin & Hobbes deformed

About

As-rigid-as-possible image deformation in Python and C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 80.7%
  • TeX 8.6%
  • C++ 8.2%
  • Shell 2.2%
  • Makefile 0.3%