-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Move code that converts ddf tensor to itk VectorImage into library? #4117
Copy link
Copy link
Closed
Description
Discussed in #4104
Originally posted by HastingsGreer April 11, 2022
There is a correct way to convert a ddf tensor accepted by Monai's warp block into an itk VectorImage accepted by itk's WarpImageFilter.
This conversion is defined and tested here:
Line 178 in af6560a
| import itk |
I would like to use this conversion code, and I think it is generally useful since it correctly handles fiddly details like transposing the tensor and reversing the order of elements in each vector. Would a pull request moving it from the test code into the MONAI library be welcome?
Reactions are currently unavailable