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
ffce9cef
Commit
ffce9cef
authored
17 years ago
by
Matthew Webster
Browse files
Options
Downloads
Patches
Plain Diff
Autocorrector uses new susan
parent
f5ef1623
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
AutoCorrEstimator.cc
+3
-3
3 additions, 3 deletions
AutoCorrEstimator.cc
Makefile
+1
-1
1 addition, 1 deletion
Makefile
with
4 additions
and
4 deletions
AutoCorrEstimator.cc
+
3
−
3
View file @
ffce9cef
...
...
@@ -401,13 +401,13 @@ namespace FILM {
Volume
vol
(
acEst
.
getNumSeries
(),
xdata
.
getInfo
(),
xdata
.
getPreThresholdPositions
());
int
i
=
2
;
int
factor
=
10000
;
cerr
<<
"Spatially smoothing auto corr estimates"
<<
endl
;
for
(;
i
<=
lag
;
i
++
)
{
// setup susan input
vol
=
acEst
.
getVolume
(
i
).
AsColumn
();
vol
=
acEst
.
getVolume
(
i
).
AsColumn
()
*
factor
;
vol
.
unthreshold
();
susan_vol
.
insert_vec
(
vol
);
...
...
@@ -417,7 +417,7 @@ namespace FILM {
// insert output back into acEst
vol
=
susan_vol
.
vec
();
vol
.
threshold
();
acEst
.
setVolume
(
static_cast
<
RowVector
>
((
vol
).
AsRow
()),
i
);
acEst
.
setVolume
(
static_cast
<
RowVector
>
((
vol
/
factor
).
AsRow
()),
i
);
cerr
<<
"."
;
}
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
1
−
1
View file @
ffce9cef
...
...
@@ -5,7 +5,7 @@ PROJNAME = film
USRINCFLAGS
=
-I
${
INC_NEWMAT
}
-I
${
INC_PROB
}
-I
${
INC_ZLIB
}
USRLDFLAGS
=
-L
${
LIB_NEWMAT
}
-L
${
LIB_PROB
}
-L
${
LIB_ZLIB
}
LIBS
=
-l
miscmaths
-lnewimage
-lutils
-lm
-lnewmat
-lfslio
-lniftiio
-lznz
-lprob
-lz
LIBS
=
-l
newimage
-lmiscmaths
-lutils
-lm
-lnewmat
-lfslio
-lniftiio
-lznz
-lprob
-lz
XFILES
=
film_gls contrast_mgr ttoz ftoz ttologp
...
...
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