SimpleITK保存时

out = sitk.GetImageFromArray(img_new)
sitk.WriteImage(out,r’E:\自己的文件名xxx’)##

运行代码报错
** ERROR (nifti_image_write_hdr_img2): cannot open output file ‘E:\自己的文件名xxx’

网上找了半天解决方法都没效果依旧报错,最后忽然!想起来sitk.WriteImage保存时路径不能有中文。

下课

** ERROR (nifti_image_write_hdr_img2): cannot open output file相关推荐

  1. 关于SimpleITK 使用函数sitk.WriteImage报错‘ERROR (nifti_image_write_hdr_img2): cannot open output file ‘

    报错** ERROR (nifti_image_write_hdr_img2): cannot open output file '/XXX/XXX/XXXXX.nii.gz' 1.首先判断路径是否存 ...

  2. STVD 编译提示 #error clnk :1 missing output file 的问题

    求大神!!!

  3. SUMO无法创建xml文件 Could not build output file

    SUMO不能通过cmd将osm文件netconvert为xml文件 #cmd窗口显示Error:Could not build output file(permission denied) 找了很多关 ...

  4. Qt开发(三) Qt调试运行提示::-1: error: cannot open output file debug\untitled.exe: Permission denied

    在Qt Create 中开发项目时,有时候编译并运行会提示: :-1: error: cannot open output file debug\untitled.exe: Permission de ...

  5. 【错误记录】编译 ijkplayer 报错 (fatal error: libyuv.h: No such file or directory #include “libyuv.h“ )

    文章目录 一.报错信息 二.解决方案 参考 https://github.com/bilibili/ijkplayer 项目的编译过程 ; 一.报错信息 在编译完 ffmpeg 之后 , 执行 ./c ...

  6. checking for C++ compiler default output file name

    checking for C++ compiler default output file name... configure: error: C++ compiler cannot create e ...

  7. C++编译之提示ld: can‘t open output file for writing: test1, errno=21 for architecture x86_64

    1 问题 在mac 终端写了一个cpp文件,然后用命令编译运行提示错误如下 1111deMBP:code a1111$ g++ -std=c++11 test1.cpp -o test1 ld: ca ...

  8. python mysql python.h_MySQLdb/_mysql.c:38:20: fatal error: Python.h: No such file or directory

    一.描述 在centos7.5中执行pip3 install mysqlclient,报如下错误 [root@VM_0_10_centos data]# pip3 install mysqlclien ...

  9. DC学习中时无法保存ddc文件的问题Error: Unable to open DDC file ‘unmapped/led_test.ddc‘ for writing.(DDC-1)

    在学习dc的时候,你一定使用过官方的lab实验手册,虽然可能版本不是那么的新.我在做lab1的时候遇到了一个非常简单,但是困扰了我好久的问题: 当按照lab要求,逐步输入如下指令: read_veri ...

最新文章

  1. iOS 使用钥匙串将用户密码存入本地
  2. 在MySQL中保存Java对象_java对象储存到数据库
  3. 操作系统(三十二)内存的基础常识
  4. c++ 中关于int,unsigned int , short的关系与应用
  5. VC中ADO连接SQLSERVER的几种标准方式?
  6. php+原生代码+赋值,js重新赋值原生的方法
  7. ZEROC究竟是何方神圣? Leader-us 大神来的回答 Leader-us mycat的发起者
  8. spingMVC问题小结
  9. Linux中共享库(so)的几个名称及相关用法
  10. python3绝对路径,相对路径
  11. 软考论文写作方法及规范
  12. 宝石争霸如何保存进度
  13. 关于个人开发游戏的一些经验
  14. 宝塔面板关键目录解析
  15. 【Audio】基于STM32 I2S移植WM8978 Audio Codec驱动
  16. ubuntu20.04 命令行下,复制与粘贴快捷键分别是ctrl+shift+c、 ctrl+shift+v
  17. 如何在微信中下载APP
  18. 18年研赛数学建模心得
  19. chatgpt的150个指令大全
  20. 清歌输入法 for Mac(最好用的五笔输入法

热门文章

  1. 论文框架和目录一样吗_论文培训(音频+讲义)
  2. matlab如何编写网页,[转载]如何使用matlab在网页中作图
  3. php解析mht,php解析mht文件转换成html的实例
  4. ios-deploy 安装与使用
  5. 解决Leaflet.draw中polyline绘制无法结束的问题
  6. 苹果使用过程的一些小技巧
  7. androidStudio分包引起的系统崩溃,报错ClassNotFoundException: Didn‘t find class “XXXView“ on path: DexPath../.apk
  8. 基于LSTM网络的视觉识别研究与实现——详细版
  9. java获取u盘_读取U盘信息
  10. 300行代码带你进入叙/丽/亚轰炸战场