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
Hi!
Before that, i have following all the code that you made and i didn't have the error so far but i have trouble that in the print function from this,
for index, filename in enumerate(sorted(glob.iglob(imagePathInput+'*.nii'))):
img = readImageVolume(filename, True)
print(filename, img.shape, np.sum(img.shape), np.min(img), np.max(img))
numOfSlices = sliceAndSaveVolumeImage(img, 'aorta1'+str(index), maskSliceOutput)
print(f'\n{filename}, {numOfSlices} slices created \n')
also in
for index, filename in enumerate(sorted(glob.iglob(maskPathInput+'*.nii'))):
img = readImageVolume(filename, True)
print(filename, img.shape, np.sum(img.shape), np.min(img), np.max(img))
numOfSlices = sliceAndSaveVolumeImage(img, 'aorta1'+str(index), maskSliceOutput)
print(f'\n{filename}, {numOfSlices} slices created \n')
didn't showing the results and didn't have an error, only the result is not showing. And also at the end, my number files that must contain all the slices is only showing 1, not all the slices that i have from the input data which is it must be 186 slices
Hoping u would answer and help me, thank you!
The text was updated successfully, but these errors were encountered:
Hi!
Before that, i have following all the code that you made and i didn't have the error so far but i have trouble that in the print function from this,
for index, filename in enumerate(sorted(glob.iglob(imagePathInput+'*.nii'))):
img = readImageVolume(filename, True)
print(filename, img.shape, np.sum(img.shape), np.min(img), np.max(img))
numOfSlices = sliceAndSaveVolumeImage(img, 'aorta1'+str(index), maskSliceOutput)
print(f'\n{filename}, {numOfSlices} slices created \n')
also in
for index, filename in enumerate(sorted(glob.iglob(maskPathInput+'*.nii'))):
img = readImageVolume(filename, True)
print(filename, img.shape, np.sum(img.shape), np.min(img), np.max(img))
numOfSlices = sliceAndSaveVolumeImage(img, 'aorta1'+str(index), maskSliceOutput)
print(f'\n{filename}, {numOfSlices} slices created \n')
didn't showing the results and didn't have an error, only the result is not showing. And also at the end, my number files that must contain all the slices is only showing 1, not all the slices that i have from the input data which is it must be 186 slices
Hoping u would answer and help me, thank you!
The text was updated successfully, but these errors were encountered: