[LINUX] How to convert from .mgz to .nii.gz

image.png

Purpose

The file output by FreeSurfer contains a fractionated cortex and white matter image (VOI).

However, the extension mgz of those files is a FreeSurfer-specific extension and is inconsistent with other software.

Therefore, the extension of aparc + aseg.mgz, which is the output file of FreeSurfer, is converted to .nii.gz.

Details

See How to convert .mgz to .nii.gz for detailed explanation and code.

Recommended Posts

How to convert from .mgz to .nii.gz
How to easily convert format from Markdown
How to use SWIG from waf
How to convert 0.5 to 1056964608 in one shot
Convert from pdf to txt 2 [pyocr]
How to launch Explorer from WSL
How to convert Tensorflow model to Lite
How to access wikipedia from python
[Python] How to convert db file to csv
How to create a clone from Github
[Python] How to convert a 2D list to a 1D list
How to convert csv to tsv in CLI
How to update Google Sheets from Python
How to convert Python to an exe file
Convert from PDF to CSV with pdfplumber
[TF] How to use Tensorboard from Keras
Convert from katakana to vowel kana [python]
How to access RDS from Lambda (python)
How to operate Linux from the console
How to create a repository from media
How to access the Datastore from the outside
How to convert DateTimeField format in Django
Convert from Markdown to HTML in Python
Convert to HSV
Sum from 1 to 10
[Tensorflowjs_converter] How to convert Tensorflow model to Tensorflow.js format
How to convert m4a acquired by iTunes to wav
How to open a web browser from python
How to create a function object from a string
[Python] Convert from DICOM to PNG or CSV
How to get results from id in Celery
[Python] How to read data from CIFAR-10 and CIFAR-100
How to generate a Python object from JSON
How to operate Linux from the outside Procedure
How to convert SVG to PDF and PNG [Python]
How to extract coefficients from a fractional formula
How to Git from GCP's Jupyter Lab to GSR
How to convert (32,32,3) to 4D tensor (1,32,32,1) with ndarray type
Learn how to inflate images from TensorFlow code
How to clone github remote repository from atom
How to use xml.etree.ElementTree
How to use Python-shell
[Python] How to remove duplicate values from the list
How to create an article from the command line
How to convert / restore a string with [] in python
How to use tf.data
How to use virtualenv
How to "cache enabled" access to FPGA memory from Linux
Scraping 2 How to scrape
How to use Seaboan
How to use image-match
How to use shogun
How to convert Python # type for Python super beginners: str
How to install Python
How to use Keras ~ From simple model generation to CNN ~
Convert 202003 to 2020-03 with pandas
How to scrape image data from flickr with python
How to read PyPI
Changes from Python 3.0 to Python 3.5
How to install pip
How to use Virtualenv