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.
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.