open-vv/vv

clitkSum

Opened this issue · 0 comments

clitkSum -i foo.mhd -o foo2.mhd -d 1
It seems that foo2.mhd is flipped around y-axis.

For the moment, we can obtain the correct image with:
clitkAffineTransform -i foo.mhd -o foo2.mhd -m foo.mat --transform_grid
clitkSum -i foo2.mhd -o foo3.mhd -d 1

with foo.mat:
1 0 0 0
0 1 0 0
0 0 -1 0
0 0 0 1