[Insight-users] Segmentation fault in DeformableRegistration1

Serena Fabbri fabbri at u.washington.edu
Mon May 11 18:28:38 EDT 2009



Hi All,
I have a problem with DeformableRegistration1.

I am registering 
fixed image: 
T1 MRI 
(176,256,160)  spacing(1,1,1)mm  origin (0,0,0)

moving image: 
CT image 
(512,512,29)  spacing (0.653595, 0.653595, 4)mm  origin (0,0,0)


I write the size of moving image in parameters file.

I get this error:


  beginning level 0
  scaling 1
  scaling 1
  scaling 1
  ElementsPerDim 44 64 40
  generating regular mesh
  generating regular mesh done
  DO NOT init interpolation grid : im sz 177 257 161 MeshSize 176 256 160
  applying loads
  which node 1
  edge coord 4 0 0
  which node 1
  edge coord 4 0 0
  which node 1
  edge coord 4 0 0
  which node 3
  edge coord 0 4 0
  which node 3
  edge coord 0 4 0
  which node 3
  edge coord 0 4 0
  which node 4
  edge coord 0 0 4
  which node 4
  edge coord 0 0 4
  which node 4
  edge coord 0 0 4
  node 1
  allocating deformation field
  load sizes [176, 256, 160]  image [176, 256, 160]
  load sizes [176, 256, 160]  image [176, 256, 160]
Segmentation fault


is it necessary to resample the moving image to fixed image before to register?

Thanks a lot.

Serena.




More information about the Insight-users mailing list