Skip to content
Snippets Groups Projects
Commit 46b9e4f8 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

RF: Use same interp setting when resampling deformation field to

alternate reference
parent fedc11cc
No related branches found
No related tags found
No related merge requests found
......@@ -750,10 +750,9 @@ def applyDeformation(image, field, ref=None, order=1, mode=None, cval=None):
if not field.sameSpace(ref):
field = resample.resampleToReference(field,
ref,
order=1,
order=order,
mode='constant',
cval=-1)[0]
else:
field = field.data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment