Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 863 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 863 Bytes

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/