This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| tif_to_nii | |
| command line executable to convert a directory of tif images | |
| (from one image) to a nifti image stacked along a user-specified axis | |
| call as: python tif_to_nii.py /path/to/tif/ /path/to/nifti | |
| (append optional arguments to the call as desired) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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) |