open nii images with matlab R2017a?
5 次查看(过去 30 天)
显示 更早的评论
I use Matlab R2017a but i cannot open nii images with niftiread command...
Do i miss something??How can i open them??
采纳的回答
Walter Roberson
2018-12-24
19 个评论
DIMITRIOS THEODOROPOULOS
2018-12-25
I cannot find the installation instructions ,so could you just briefly say which file must i open to read the nii??
Walter Roberson
2018-12-25
On that page, click on the Download button. That will download a .zip file. Unzip the file into a convenient directory that is not under the MATLAB installation directory. Now, in MATLAB, use pathtool to add that folder to the MATLAB path. Remember to save afterwards.
The particular one you need is load_nii
Walter Roberson
2018-12-25
It isn't a GUI tool. You need to pass the name of the nii file at the very least.
DIMITRIOS THEODOROPOULOS
2018-12-25
Ι am struggling to find where must i pass the nii file...I cannot... :(
and i cannot find any further details....Could you help me more??
DIMITRIOS THEODOROPOULOS
2018-12-26
i feel very stupid....i am sorry ..tit doesnt work either..
where is my mistake??
Walter Roberson
2018-12-26
remove that added line from that file. Then in a different file
result = load_nii('1103_3_glm');
DIMITRIOS THEODOROPOULOS
2018-12-26
it has no errors but no image appears..This same image opens in mango...
Anyway thanks for your support
Walter Roberson
2018-12-26
load_nii just loads the data: it does not display the data.
After you have loaded the data, examine size(result) and class(result) and tell us what shows up.
DIMITRIOS THEODOROPOULOS
2018-12-27
Walter Roberson
2018-12-28
volumeViewer( result.img );
provided you have a new enough MATLAB.
If not then look in the File Exchange for "vol3d v2"
DIMITRIOS THEODOROPOULOS
2018-12-29
Thank you very much!!this worked..That is what i really wanted to see!
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Import, Export, and Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!发生错误
由于页面发生更改,无法完成操作。请重新加载页面以查看其更新后的状态。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
亚太
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)