balbasty / nitorch

Neuroimaging in PyTorch
Other
83 stars 14 forks source link

Add sliding boundary conditions in push/pull #15

Open balbasty opened 4 years ago

balbasty commented 4 years ago

Sliding boundary conditions are specific to displacement fields: they use a mixture of DCT2 and DST2 boundaries, with the DST2 dimension being different in each channel.

Here's an example in 3D:

They must be implemented in pushpull_common.cpp, in different flavours: