nifti Questions

2

Solved

I'm working with Nibabel to read some .nii files. I came across different examples and some of them use get_data() function while some of them use get_fdata() function. I could not find what the di...
Litterbug asked 15/2, 2019 at 8:34

2

Solved

I have 3D array in Nifti file (.ii.gz) and I want to save it as a 3D numpy array. I used Nibabel to convert Numpy to Nifti1. Can I do the opposite?
Entryway asked 7/6, 2017 at 20:32

1

I am currently trying to train a neural network model on MRI scan images. The images are in a NIfTI (.nii) file format which I don't believe tensorflow or keras has the inherent ability to read. I ...
Duckbill asked 21/2, 2020 at 8:11

1

Solved

From this question How to convert Nifti file to Numpy array?, I created a 3D numpy array of a nifti image. I made some modifications to this array (changed depth of the array by adding padding of z...
Blucher asked 10/3, 2019 at 17:35

1

Solved

I have a T1 image (NIFTI), already aligned, with dimension 121 x 145 x 121. The image is loaded by nibabel. The voxel size is 1.5 x 1.5 x 1.5 mm. I want to down-sample it to an image with 2.0 x 2.0...
Desiccate asked 6/12, 2018 at 0:40

2

Solved

I have a numpy array that I would like to covert into a nifti file. Through the documentation it seems PyNIfTI used to do this with: image=NiftiImage(Array) However, PyNIfTI isn't supported any...
Pneumatophore asked 4/2, 2015 at 20:26

1

Solved

My goal is to get a .obj file from a nifty (.nii) format using python, with the purpose of open it on Unity. I know that the "scikit-image" package has a module called "measure" which has the March...
Derk asked 17/2, 2018 at 18:50
1

© 2022 - 2024 — McMap. All rights reserved.