[Insight-users] Segmentation fault in DeformableRegistration1

Luis Ibanez luis.ibanez at kitware.com
Wed May 20 23:49:05 EDT 2009


Hi Serana,

No, in general you don't need to resample the images before
applying deformabel registration, at least not due to their
different sizes.

However, you may want to register them first using an Affine
transform, specially if they have any significant rotation
or translation with respect to each other.


    Luis



--------------------
Serena Fabbri wrote:
> 
> 
> 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.
> 
> 
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the ITK FAQ at: 
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
> 


More information about the Insight-users mailing list