Skip to content

TimSC/image-piecewise-affine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-piecewise-affine

A piecewise affine image warper library for Python 2 and 3. Both pure python and cython implementations are included. The transform is defined by a set of control points in the source and destination images. Demo programs are included in warp.py and warpcythondemo.py. This library operates on both greyscale and colour images.

The method depends on scipy.spatial to perform Delaunay triangularisation and PIL to open images. On my desktop PC, the native python version runs in 6.992 sec, the cython version in 4.861 seconds.

The cython version can be built using the command: python setup.py build_ext --inplace

This software is available under the Simplified BSD License as specified in the COPYING file.

NOTE: This functionality has been integrated into scikit-image, available here http://scikit-image.org/

About

A piecewise affine image warper for python 2 or 3.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages