NIfTI-Image-Converter icon indicating copy to clipboard operation
NIfTI-Image-Converter copied to clipboard

🖼 A lightweight neuroimaging .nii to .png converter for Matlab and Python users

Results 20 NIfTI-Image-Converter issues
Sort by recently updated
recently updated
newest added

can we convert .nii to .jpg slices using nii2png

question

I need help with preprocessing medical image data. I have 100 nifti images. I want to extract 5 slices from each of these as jpegs. **However, I work in a...

According to [the scipy documentation](https://docs.scipy.org/doc/scipy-1.1.0/reference/generated/scipy.misc.imsave.html), the `scipy.misc.imsave` function is deprecated. More so, it has been completely removed in newer scipy 1.3+ versions, so that `nii2png` now fails: ``` python-console $...

help wanted

Hello sir I am using repo and here I am getting stuck what is means and what is the proper solution of this error and furthermore please give me suggestion...

I am using python 3.7 using the following packages in python virtual environment Package Version ---------- ------- nibabel 2.4.1 numpy 1.16.4 pip 19.1.1 scipy 1.3.0 setuptools 40.8.0 six 1.12.0 But,...

bug

I fixed a bug, that was caused by using `nibabel.load(inputfile).get_data()`. Instead `nibabel.load(inputfile).get_fdata()` should be used (`get_fdata()` instead of `get_data()`). Besides that, I implemented the normalization of the input image brightness....

Hello , First of all thank you so much for this incredible work OK, so The nii2png. worked with me so well to convert nifti file to PNG images by...

I have the dataset with four classes . I want to convert the NIFTI images to jpg to develop a model for classification I am still debugging this segments of...

As discussed with OliJimbo on issue #6, I've changed the get_data() method for nib.NiftiImage objects to the new get_fdata(), which returns the np.ndarray.

scipy.misc.imwrite and nibabel_get_data() have been deprecated. This commit uses imageio and numpy.asanyarray instead