cwmok / Conditional_LapIRN

Conditional Deformable Image Registration with Convolutional Neural Network
MIT License
80 stars 16 forks source link

Resizing option added #15

Closed ignaciobartol closed 5 months ago

ignaciobartol commented 6 months ago

Added an interpolate function that preserves the deformation field by using tensor interpolation from PyTorch. In case of upsampling the convergence is not guaranteed but it works better in general than other methods. For detailed information on the interpolation methods available refer to https://pytorch.org/docs/stable/generated/torch.nn.functional.interpolate.html