'Tensorflow Equivalent of skimage.transform.warp or scipy.ndimage.interpolation.map_coordinates
Does Tensorflow have an equivalent of skimage.transform.warp
or scipy.ndimage.interpolation.map_coordinates
? I am looking for some way to "warp an image according to a given coordinate transformation".
Ideally, this could be used as a generalized way of performing affine transformations on an image.
This is the closest PR I can find, and it is a much for the specialized version of this problem.
Here is an example of these transforms being used in nolearn.
Solution 1:[1]
It looks like tf.contrib.image.transform(images, transforms)
is exactly what I am looking for.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Alex Rothberg |