You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to substantially reproduce apply_transforms by setting the warp metadata to match f, as is the case for warps returned by ants.registration. This was not the case for the previous example.
Notable, the affine transform couldn't be inverted for the method to work: w.apply_to_image(aff.apply_to_image(f, reference=f), reference=f)
Furthermore, the resulting images were not identical up to float tolerance. The mean square error was 4e-4, the maximum absolute difference was 0.02. Images were normalized to [0, 1], both methods used linear interpolation.
not sure if I'm missing something or if there is a bug here
result:
The text was updated successfully, but these errors were encountered: