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
As per KCL-BMEIS/niftyreg#59, my impression is that cubic interpolation is always used during reg_aladin. The bug is therefore present in our SIRF wrappers around it.
This means that resulting images may contain negatives, which could be problematic (e.g., HKEM expects priors with non-negative voxel values).
The short-term fix for this (whether using NiftyReg directly or using the SIRF wrapper) is to register images, extract the transformation matrix and then resample using that matrix. Using niftyreg directly would look something like:
As per KCL-BMEIS/niftyreg#59, my impression is that cubic interpolation is always used during
reg_aladin
. The bug is therefore present in our SIRF wrappers around it.This means that resulting images may contain negatives, which could be problematic (e.g., HKEM expects priors with non-negative voxel values).
The short-term fix for this (whether using NiftyReg directly or using the SIRF wrapper) is to register images, extract the transformation matrix and then resample using that matrix. Using niftyreg directly would look something like:
The text was updated successfully, but these errors were encountered: