Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fdt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
fdt
Commits
2c33ff6d
Commit
2c33ff6d
authored
11 years ago
by
Moises Fernandez
Browse files
Options
Downloads
Patches
Plain Diff
Add FSL path to some commands
parent
00beba96
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rubix_preproc.sh
+5
-5
5 additions, 5 deletions
rubix_preproc.sh
with
5 additions
and
5 deletions
rubix_preproc.sh
+
5
−
5
View file @
2c33ff6d
...
@@ -16,11 +16,11 @@ if [ ${filterflag} -eq 1 ]; then
...
@@ -16,11 +16,11 @@ if [ ${filterflag} -eq 1 ]; then
HighRes
=
`
fslval
${
subjdir
}
/data pixdim1
`
HighRes
=
`
fslval
${
subjdir
}
/data pixdim1
`
LowRes
=
`
echo
"
${
HighRes
}
* 2"
| bc
-l
`
LowRes
=
`
echo
"
${
HighRes
}
* 2"
| bc
-l
`
echo
"Create Downsampled version of data at
${
LowRes
}
mm isotropic"
echo
"Create Downsampled version of data at
${
LowRes
}
mm isotropic"
flirt
-in
${
subjdir
}
/nodif_brain_mask
-ref
${
subjdir
}
/nodif_brain_mask
-applyisoxfm
${
LowRes
}
-interp
nearestneighbour
-out
${
out_dir
}
/nodif_brain_maskLR
${
FSLDIR
}
/bin/
flirt
-in
${
subjdir
}
/nodif_brain_mask
-ref
${
subjdir
}
/nodif_brain_mask
-applyisoxfm
${
LowRes
}
-interp
nearestneighbour
-out
${
out_dir
}
/nodif_brain_maskLR
flirt
-in
${
subjdir
}
/data
-ref
${
subjdir
}
/data
-applyisoxfm
${
LowRes
}
-interp
sinc
-out
${
out_dir
}
/dataLR
${
FSLDIR
}
/bin/
flirt
-in
${
subjdir
}
/data
-ref
${
subjdir
}
/data
-applyisoxfm
${
LowRes
}
-interp
sinc
-out
${
out_dir
}
/dataLR
if
[
${
gflag
}
-eq
1
]
;
then
if
[
${
gflag
}
-eq
1
]
;
then
echo
"Create Downsampled version of grad_dev at
${
LowRes
}
mm isotropic"
echo
"Create Downsampled version of grad_dev at
${
LowRes
}
mm isotropic"
flirt
-in
${
subjdir
}
/grad_dev
-ref
${
subjdir
}
/grad_dev
-applyisoxfm
${
LowRes
}
-interp
nearestneighbour
-out
${
out_dir
}
/grad_devLR
${
FSLDIR
}
/bin/
flirt
-in
${
subjdir
}
/grad_dev
-ref
${
subjdir
}
/grad_dev
-applyisoxfm
${
LowRes
}
-interp
nearestneighbour
-out
${
out_dir
}
/grad_devLR
${
FSLDIR
}
/bin/fslslice
$subjdir
/grad_dev
$out_dir
/grad_devHR
${
FSLDIR
}
/bin/fslslice
$subjdir
/grad_dev
$out_dir
/grad_devHR
${
FSLDIR
}
/bin/fslslice
${
out_dir
}
/grad_devLR
$out_dir
/grad_devLR
${
FSLDIR
}
/bin/fslslice
${
out_dir
}
/grad_devLR
$out_dir
/grad_devLR
fi
fi
...
@@ -63,9 +63,9 @@ do
...
@@ -63,9 +63,9 @@ do
count
=
$((
$count
-
1
))
count
=
$((
$count
-
1
))
arr_cnt
=
$((
$arr_cnt
+
1
))
arr_cnt
=
$((
$arr_cnt
+
1
))
done
done
fslmerge
-z
${
out_dir
}
/dataHR_newslice_
${
slicezp
}
`
echo
${
filenames
[*]
}
`
${
FSLDIR
}
/bin/
fslmerge
-z
${
out_dir
}
/dataHR_newslice_
${
slicezp
}
`
echo
${
filenames
[*]
}
`
if
[
${
gflag
}
-eq
1
]
;
then
if
[
${
gflag
}
-eq
1
]
;
then
fslmerge
-z
${
out_dir
}
/grad_devHR_newslice_
${
slicezp
}
`
echo
${
gfilenames
[*]
}
`
${
FSLDIR
}
/bin/
fslmerge
-z
${
out_dir
}
/grad_devHR_newslice_
${
slicezp
}
`
echo
${
gfilenames
[*]
}
`
fi
fi
slice
=
$((
$slice
+
1
))
slice
=
$((
$slice
+
1
))
done
done
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment