Skip to content

Instantly share code, notes, and snippets.

View liuhh02's full-sized avatar
🧑‍🎓

Liu Haohui liuhh02

🧑‍🎓
View GitHub Profile
@jcreinhold
jcreinhold / nii_to_tif.py
Last active August 1, 2023 18:23
Convert NIfTI images into multiple TIF images
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
nii_to_tif
command line executable to convert 3d nifti images to
individual tiff images along a user-specified axis
call as: python nii_to_tif.py /path/to/nifti /path/to/tif
(append optional arguments to the call as desired)