Software Open Access

elasticdeform: Elastic deformations for N-dimensional images

Gijs van Tulder

This library implements elastic grid-based deformations for N-dimensional images.

The elastic deformation approach is described in

The procedure generates a coarse displacement grid with a random displacement for each grid point. This grid is then interpolated to compute a displacement for each pixel in the input image. The input image is then deformed using the displacement vectors and a spline interpolation.

In addition to the normal, forward deformation, this package also provides a function that can backpropagate the gradient through the deformation. This makes it possible to use the deformation as a layer in a convolutional neural network. For convenience, a TensorFlow wrapper is provided in elasticdeform.tf.

See https://github.com/gvtulder/elasticdeform

Files (126.5 kB)
Name Size
gvtulder/elasticdeform-v0.5.0.zip
md5:2e8bb265c0c782e1e45501c57e3c694d
126.5 kB Download
365
8
views
downloads
All versions This version
Views 36571
Downloads 81
Data volume 1.0 MB126.5 kB
Unique views 29262
Unique downloads 71

Share

Cite as