Open nohalloween opened 2 years ago
Regarding the origins, as far as I know they are arbitrary as long as they match in the corresponding segmentation files.
Regarding the rest of the affine matrix in the Nifti format, you might find this reference helpful: https://nipy.org/nibabel/coordinate_systems.html
Thanks for your reply and it's very helpful!
Hello, recently I tried to add some clinical CTs from hosipitals into KiTS. However I noticed KiTS nii fomat shape be like (num_slices, height, width) , which can be described as (z, x ,y) and origin be like(0,0,0). But my CTs get (x, y ,z) shape and have none-zero origins. One way to solve this problem is that I transposed the dims, pixdims. But how to deal with the qform/sform , origin and srow_x/y/z in the metadata still confuse me.