摘要:
import os current_directory = os.getcwd() parent_directory = os.path.dirname(current_directory) print("当前目录:", current_directory) print("上一级目录:", pare 阅读全文
posted @ 2024-07-29 10:12
大海z16
阅读(41)
评论(0)
推荐(0)
摘要:
import SimpleITK as sitk import numpy as np # 加载图像 image = sitk.ReadImage('input.nii.gz') # 将SimpleITK图像转换为NumPy数组 image_array = sitk.GetArrayFromImag 阅读全文
posted @ 2024-07-29 10:00
大海z16
阅读(34)
评论(0)
推荐(0)
浙公网安备 33010602011771号