一个很好地图像显示程序,可以读取各种格式的图像,如DICOM,PNG,JPEG,BMP以及raw格式的图像-a good program for display map,could load different kinds formal of graphics ,such as:dicom,png,jpeg,bmp and raw [ezdicom_24.rar] - 可查看医学DICOM文件。并可进窗宽、窗位调整,长度测量等。并可以位图方式进而转换输出
def rename_temp():
img_PATH = r"./test"
flag = "(1)"
csvfile = open(r'./patientID.csv', 'w', newline='')
for path, dirs, files in os.walk(img_PATH):
for filename in files: # 遍历所有文件
num = ((filename.split("_")[1]).