Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

fsl flirt

#!/bin/sh

# Some viewers (like MRIcron) do not handle anisotropic voxels well. 
# FSL can easily convert an image with anisotropic voxels into one 
# with isotropic voxels in the same space using -applyisoxfm

# reslice current image into 1mm isotropic
flirt -in anat_CT_axial -ref anat_CT_axial -applyisoxfm 1 -out anat_CT_axial_1mm

# reslice current image into 0.5 mm isotropic voxels.
flirt -in anat_CT_axial -ref anat_CT_axial -applyisoxfm 0.5 -out anat_CT_axial_0.5mm
Comment

fsl flirt

#!/bin/sh

# Use FSL flirt to register label masks 
# with nearest neighbor interpolation. 
# because the label values should never be interpolated.
# This example assumes: 
# an existing 0.5mm standard brain (MNI152_T1_0.5mm_brain)
# an existing flirt matrix from 1 mm to 0.5 mm (stand1stand0.5.mat)

 flirt -in atlas -datatype int -ref MNI152_T1_0.5mm_brain 
 -interp nearestneighbour 
 -init stand1stand0.5.mat -applyxfm -out atlas_0.5mm
Comment

PREVIOUS NEXT
Code Example
Shell :: how to open boot config raspberry pi command propt 
Shell :: dyld: lazy symbol binding failed: Symbol not found: _ffi_prep_closure_loc 
Shell :: please rebuild precompiled header 
Shell :: resolve git conflicts github button disabled 
Shell :: php ini linux apache2 file sizer 
Shell :: python pip upgrade 
Shell :: set git origin 
Shell :: empty-commoit 
Shell :: bash remove directory 
Shell :: powershell execution policy bypass 
Shell :: uninstall brew from linux 
Shell :: who create git 
Shell :: set up redux in react 
Shell :: install packer on ubuntu 
Shell :: create folder shortcut on desktop ubuntu 
Shell :: git stash show files changed 
Shell :: get mac address linux 
Shell :: git commit ignore eslint 
Shell :: cronjob run every hour 
Shell :: how to install quick.db 
Shell :: if else in mac terminal 
Shell :: git edit last commit message 
Shell :: git transfer changes to another branch 
Shell :: docker-machine create digitalocean 
Shell :: renew ssl certbot nginx 
Shell :: remove symfony ubuntu 
Shell :: bash check if variable is number 
Shell :: centos show hdd 
Shell :: install openssh 
Shell :: rollback git 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =