Open dsitnik opened 3 years ago
I think it refers to the Image Pixel Spacing. It is the distance between the centers of the adjacent pixels. For eg: It could be [1.0, 1.0, 1.5]
.
thanks @sainatarajan . Yes it refers to the pixel resolution. If your images don't have a resolution you can set this to (1, 1, 1)
I ran into the same problem when preprocessing the LiTS dataset.
Hello,
Did you manage to resolve the problem or do you need further assistance? Otherwise, I will close the issue as its quite dated.
Cheers Ole
Hi,
I am trying to convert tiff images into the required nifti format using the following function:
https://github.com/MIC-DKFZ/nnUNet/blob/06505439d5e3239105c867c6b380a95f44090431/nnunet/utilities/file_conversions.py#L63
What exactly is "spacing"? There is no explanation in the functions' description.
Do you have a working example?