File: optimalsmooth.sh

package info (click to toggle)
ants 1.9.2%2Bsvn680.dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 12,136 kB
  • sloc: cpp: 41,966; sh: 2,545; perl: 216; makefile: 43
file content (18 lines) | stat: -rwxr-xr-x 392 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh 

echo  " sh $0 outputprefix " 
if [ $# -lt 1 ] ; then 
exit
fi
 
export ANTSPATH=${ANTSPATH:="/usr/lib/ants/"} 
SUB=$1 
TH=${SUB}thicknorm.nii.gz
JA=${SUB}logjacobian.nii 
MK=${SUB}mask.nii.gz 
OUTT=${SUB}smooththick.nii.gz 
OUTJ=${SUB}smoothjac.nii.gz 
REPS=5
  ${ANTSPATH}SurfaceBasedSmoothing $TH 1.5 $MK $OUTT $REPS
  ${ANTSPATH}SurfaceBasedSmoothing $JA 1.5 $MK $OUTJ $REPS