Closed paulshuker closed 2 months ago
affine_transform
affine
This has been optimised by affine transforming positions using matrix multiplication then using the pytorch grid_sample function to gather optical flow shifts with interpolation.
affine_transform
, use the faster (and GPU available) pytorchaffine
function