jackyko1991/vnet-tensorflow

Spatial dimensions order

Opened this issue · 0 comments

Hi,
thank you for sharing your code. I have a question about something you are doing here:

# to unify matrix dimension order between SimpleITK([x,y,z]) and numpy([z,y,x])

What is the reason to call np.transpose() on the axis? I am asking this question because I have seen it in different places but according to Tensorflow conv3d documentation the format of the spatial dimensions should be (z, y, x) already returned from sitk.GetArrayFromImage().

Am I missing something?