首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >加载nii.zip (压缩) 3d分割文件

加载nii.zip (压缩) 3d分割文件
EN

Stack Overflow用户
提问于 2019-08-27 13:55:31
回答 1查看 601关注 0票数 1

我知道SimpleITK可以读取Nifty (.nii)格式的3d图像,而且它还支持nii.gz压缩版本。但是,我无法加载nii.zip文件。如果我试图直接解压缩/解压缩,这些文件会抛出错误,而且也不会被SimpleITK识别为可读的格式之一。

参考数据集可在:https://academictorrents.com/details/27772adef6f563a1ecc0ae19a528b956e6c803ce中找到

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-09-24 17:54:12

不久前,我下载了相同的数据集,我没有对它进行彻底的实验,但下面是我的经验:

  1. 我能够成功地解压缩nii.zip文件
代码语言:javascript
复制
- I am using Linux Ubuntu 18.04 and preinstalled unzipping utility from GUI
- The problems you are experiencing could be happening due to using different archive manager or maybe the dataset could have been damaged during download
- **solution** - try different archive manager and download the dataset again

  1. 我正在使用Aliza查看解压缩扫描
代码语言:javascript
复制
- from my experience for quick checking of the medical image formats [Aliza viewer](https://www.aliza-dicom-viewer.com/) is the best program available with possible exports to different formats

  1. 读取压缩文件的解决方案
代码语言:javascript
复制
- if you are using SimpleITK or (my favourite in python) [Nibabel](https://nipy.org/nibabel/) and want to read the zipped files directly you can refer to these answers how to tackle the problem of reading the files inside the zipped archives - [Stack overflow question 1](https://stackoverflow.com/questions/48456420/accessing-files-inside-a-zip-archive-without-extracting-them) and [Stack overflow question 2](https://stackoverflow.com/questions/19371860/python-open-file-from-zip-without-temporary-extracting-it)

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/57676269

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档