Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
film
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
film
Commits
f5b330a9
Commit
f5b330a9
authored
19 years ago
by
Stephen Smith
Browse files
Options
Downloads
Patches
Plain Diff
changed volumeseries to read/write a volume at a time
parent
ac516d9b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
film_gls.cc
+7
-7
7 additions, 7 deletions
film_gls.cc
with
7 additions
and
7 deletions
film_gls.cc
+
7
−
7
View file @
f5b330a9
...
...
@@ -47,13 +47,12 @@ int main(int argc, char *argv[])
int
sizeTS
=
x
.
getNumVolumes
();
// if needed for SUSAN spatial smoothing, output the
12th
volume for use later
// if needed for SUSAN spatial smoothing, output the
halfway
volume for use later
Volume
epivol
;
if
(
globalopts
.
smoothACEst
)
{
epivol
=
x
.
getVolume
(
int
(
sizeTS
/
2
)).
AsColumn
();
epivol
.
setInfo
(
x
.
getInfo
());
epivol
.
writeAsInt
(
logger
.
getDir
()
+
"/"
+
globalopts
.
epifname
);
}
...
...
@@ -197,6 +196,12 @@ int main(int argc, char *argv[])
cerr
<<
"Saving results... "
<<
endl
;
// write residuals
//residuals.unthresholdSeries(x.getInfo(),x.getPreThresholdPositions());
//residuals.writeAsFloat(logger.getDir() + "/res4d");
residuals
.
writeThresholdedSeriesAsFloat
(
x
.
getInfo
(),
x
.
getPreThresholdPositions
(),
logger
.
getDir
()
+
"/res4d"
);
residuals
.
CleanUp
();
if
(
globalopts
.
verbose
)
{
// output whitened x
...
...
@@ -220,11 +225,6 @@ int main(int argc, char *argv[])
threshac
.
thresholdSeries
();
threshac
.
CleanUp
();
// write residuals
residuals
.
unthresholdSeries
(
x
.
getInfo
(),
x
.
getPreThresholdPositions
());
residuals
.
writeAsFloat
(
logger
.
getDir
()
+
"/res4d"
);
residuals
.
CleanUp
();
// save gls results:
glimGls
.
Save
(
x
.
getInfo
(),
x
.
getPreThresholdPositions
());
glimGls
.
CleanUp
();
...
...
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