Transfer from VTK to SimpleITK

Hello @flaviu2,

In your code the parameter to SetSize should be the contents of nDim. In ITK/SimpleITK the size of an image is the number of pixels/voxels per dimension.

2 Likes