KCL-BMEIS / niftyreg

This project contains command line tools to perform rigid, affine and non-linear registration of nifti or analyse images as well as utilities
BSD 3-Clause "New" or "Revised" License
141 stars 42 forks source link

reg_aladin ignores padding #100

Open neuronflow opened 1 year ago

neuronflow commented 1 year ago

Here is my niftyreg script; I am using version 1.5.68:

niftyreg_scripts/reg_aladin \
    -rigOnly \
    -pad 42.0 \
    -ref $fixed \
    -flo $moving \
    -res $transformed \
    -aff $matrix 

results in, the whole volume is 240x240x155:

image

I also tried to put the -pad 42 as the last parameter and tried higher numbers. I also tried providing it as an integer.

What am I doing wrong? Is there a way to set padding automatically?