[Rtk-users] rktforwardprojections: direction parameter

Görres, Joseph j.goerres at dkfz-heidelberg.de
Tue Jun 25 07:11:22 EDT 2013


Hi,

we are new to RTK and would like to do a forward projection with cone-beam ct image data. We would like to use the rtkforwardprojections application, which works great with your example data. However, we have problems setting the direction differently.

./rtksimulatedgeometry -o geometry.xml -n 100 -a 190 --sdd=1000 --sid=634

./rtkforwardprojections -g geometry.xml -o projections.mha -i image.nrrd --spacing=1,1,33.3 --origin=-85.512,-61.8375,61.3525 --direction=0.0,0.0,1.0 --dimension 256
terminate called after throwing an instance of 'itk::ExceptionObject'
  what():  ~/ITK4/src/Modules/Core/Common/include/itkImageBase.hxx:196:
itk::ERROR: Image(0x13b2880): Bad direction, determinant is 0. Direction is 0 0 1
1.63042e-322 4.24237e-315 0
0 1.63042e-322 1.01356e-316

Aborted (core dumped)

We compiled the newest RTK version with ITK 4.3.1.

Thank you and best regards,
Michael and Joseph



More information about the Rtk-users mailing list