minc-tools | Basic minc-tools from former minc repository | Computer Vision library
kandi X-RAY | minc-tools Summary
kandi X-RAY | minc-tools Summary
This package is a collection of tools that work on MINC format images.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of minc-tools
minc-tools Key Features
minc-tools Examples and Code Snippets
Community Discussions
Trending Discussions on minc-tools
QUESTION
I need to convert image files with the MINC format (.mnc) to the NIfTI-1 format (.nii). I want to use the command "mnc2nii" of the minc-tools in Ubuntu bash.
"mnc2nii" requires an input (filename.mnc) and an output (filename.nii).
I have multiple folders and subfolders with MINC files in them.
I am trying to find a way to recursively convert all .mnc files to .nii so that they keep their name and folder structure.
Example:
file abc in /folder/abc.mnc converted to /folder/abc.nii
and
file xyz in /folder/subfolder/xyz.mnc converted to /folder/subfolder/xyz.nii.
Thank you
...ANSWER
Answered 2018-Jan-10 at 22:51Untested because it's late here in the UK, so make a backup and test on a copy of a small subset of pictures.
First install GNU Parallel, then in terminal run:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install minc-tools
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page