If your transform is rigid or affine, you can do this operation much more elegantly via TransformGeometryImageFilter, not to mention there is no loss and it is nearly instantaneous compared to cuberille filter workaround.
If your transform is rigid or affine, you can do this operation much more elegantly via TransformGeometryImageFilter, not to mention there is no loss and it is nearly instantaneous compared to cuberille filter workaround.