You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but if I load the converted NIfTI using Nibabel, I get the following:
importnibabelasnib# Path to single CT nifti filepath_to_ct_nifti="../../procdata/mit_test/0_LIDC-IDRI-0001/CT/CT.nii.gz"# Load in the image as a nibabel objectct_nifti=nib.load(path_to_ct_nifti)
print("NIfTI image loaded:")
print("Type: ", type(ct_nifti))
print("Shape: ", ct_nifti.shape)
I ran autopipeline on a CT image from the TCIA LIDC-IDRI dataset and it changed the image dimensions.
I tried this specifically patient LIDC-IDRI-0001 with the CT series ID 1.3.6.1.4.1.14519.5.2.1.6279.6001.179049373636438705059720603192
When I load the DICOM image with
read_dicom_series
fromimgtools.io
, I get this:but if I load the converted NIfTI using Nibabel, I get the following:
If I convert the DICOM image by loading it in with SimpleITK as above and then saving it with
sitk.WriteImage
, the dimensions don't change.The text was updated successfully, but these errors were encountered: