How to visualize 4D .nii file?

25 次查看(过去 30 天)
YUNJI KIM
YUNJI KIM 2021-3-8
I have an mri file with the extension nii.
How can I visualize this?

回答(1 个)

Asvin Kumar
Asvin Kumar 2021-5-13
编辑:Asvin Kumar 2021-5-13
nii files follow the NIfTI image format. You can use the niftiread function to read these files. MATLAB also offers other functions like niftiwrite and niftiinfo. All the linked doc pages have examples that should help you get started. You can use try using volshow or the volumeViewer app to view your data.
Here are two articles that talk about viewing/displaying MRI data (3D volume):
  1. Ways to view MRI Data
  2. Exploring slices from a 3D MRI Data Set
You can try adapting techniques from these articles.
Here's a popular File Exchange submission for working with NIIfTI and ANALYZE images: https://www.mathworks.com/matlabcentral/fileexchange/8797-tools-for-nifti-and-analyze-image

类别

Help CenterFile Exchange 中查找有关 MRI 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by