Skip to content

TensorFlow implementation of Thin Plate Spline Spatial Transformer Network

License

Notifications You must be signed in to change notification settings

viibridges/TPS_STN-tensorflow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TPS_STN-tensorflow

TensorFlow implementation of Thin Plate Spline Spatial Transformer Network

# test.py
v = np.array([
  [0.2, 0.2],
  [0.4, 0.4],
  [0.6, 0.6],
  [0.8, 0.8]])

p = tf.constant(v.reshape([1, nx*ny, 2]), dtype=tf.float32)
t_img = tf.constant(img.reshape(shape), dtype=tf.float32)
t_img = TPS_STN(t_img, nx, ny, p, out_size)

alt tag alt tag

References

About

TensorFlow implementation of Thin Plate Spline Spatial Transformer Network

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%