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
Hello, I use 3D slicer software to outline the subject dicom sequence and save it as seg.nii, and use dicom2nifti.dicom_series_to_nifti to save these sequences as volume.nii, and then I use the following code for preprocessing, The position of opening the label with 3D slicer is misaligned, what is the reason?
On the left is the processed data, and on the right is the raw data
Way to reproduce:
import numpy as np
import os
import SimpleITK as sitk
import random
from scipy import ndimage
from os.path import join
for i in range(20):
mri_path = 'process1/'+str(i)+'.nii.gz'
seg_path1 = 'process1/seg-'+str(i)+ '.nii'
seg_path2 = 'process1/seg-'+str(i)+ '.nii.gz'
@tanjia123456, from your provided information it is hard to determine if this is a bug. In this case, could you try to simplify the code to an minimal example that uses only scikit-image and its dependencies to make it reproducable? That way we can make sure that the error lies with scikit-image.
By the way, I've noticed that your issues have some formatting issues. If you paste python code, please try to use a block like so?
Description:
Hello, I use 3D slicer software to outline the subject dicom sequence and save it as seg.nii, and use dicom2nifti.dicom_series_to_nifti to save these sequences as volume.nii, and then I use the following code for preprocessing, The position of opening the label with 3D slicer is misaligned, what is the reason?
On the left is the processed data, and on the right is the raw data
Way to reproduce:
import numpy as np
import os
import SimpleITK as sitk
import random
from scipy import ndimage
from os.path import join
for i in range(20):
mri_path = 'process1/'+str(i)+'.nii.gz'
seg_path1 = 'process1/seg-'+str(i)+ '.nii'
seg_path2 = 'process1/seg-'+str(i)+ '.nii.gz'
Version information:
No response
The text was updated successfully, but these errors were encountered: