rousseau/fbrain — Issue #34: btkImageReconstruction
Author: evangelou
Created: 2012-03-01 14:20:16+00:00
State: open

hi

i am getting this error when i try to reconstruct on ubuntu 11.04 x64, any help would be appreciated.

images have same volume matrix 256x256x40 and 1.25x1.25x2mm voxel size

btkImageReconstruction --box --3D -i ax.nii.gz -i cor.nii.gz -i sag.nii.gz -o recon.nii.gz
Iteration 1
Registering image Registering image 1Registering image ... 0 ... 2 ... done.
done. done.
Injecting images ... WARNING: In /usr/local/include/ITK-4.0/itkTransform.hxx, line 42
Transform (0x7f7d98453620): Using default transform constructor. Should specify NOutputDims and NParameters as args to constructor.

WARNING: In /usr/local/include/ITK-4.0/itkTransform.hxx, line 42
Transform (0x7f7d98457c50): Using default transform constructor. Should specify NOutputDims and NParameters as args to constructor.

WARNING: In /usr/local/include/ITK-4.0/itkTransform.hxx, line 42
Transform (0x7f7d98467630): Using default transform constructor. Should specify NOutputDims and NParameters as args to constructor.

terminate called after throwing an instance of 'itk::ExceptionObject'
what(): /usr/local/include/ITK-4.0/itkImageToImageFilter.hxx:228:
itk::ERROR: ResampleImageByInjectionFilter(0x7f7d98460e20): Inputs do not occupy the same physical space!
InputImage Origin: [-126.836, 0.675533, 225.308], InputImageIndexedDataObject1 Origin: [-227.381, -207.628, 19.5489]
InputImage Spacing: [1.28906, 1.28906, 2], InputImageIndexedDataObject1 Spacing: [1.28906, 1.28906, 1.28906]
InputImage Direction: 0.923544 -0.3215 -0.209057
-0.216479 0.012921 -0.976202
-0.31655 -0.946821 0.057665
, InputImageIndexedDataObject1 Direction: 0.93212 0.167381 0.321147
-0.158252 0.985892 -0.0545231
-0.325743 -2.97552e-08 0.945458

Aborted