Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
1a056fdc
Commit
1a056fdc
authored
Dec 12, 2011
by
Sebastian Eichelbaum
Browse files
[ADD] - added uint16 support to gauss filter
parent
060ba83d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
src/modules/gaussFiltering/WMGaussFiltering.cpp
src/modules/gaussFiltering/WMGaussFiltering.cpp
+8
-0
No files found.
src/modules/gaussFiltering/WMGaussFiltering.cpp
View file @
1a056fdc
...
...
@@ -325,6 +325,14 @@ void WMGaussFiltering::moduleMain()
newValueSet
=
iterativeFilterField
(
vals
,
iterations
);
break
;
}
case
W_DT_UINT16
:
{
boost
::
shared_ptr
<
WValueSet
<
uint16_t
>
>
vals
;
vals
=
boost
::
shared_dynamic_cast
<
WValueSet
<
uint16_t
>
>
(
(
*
m_dataSet
).
getValueSet
()
);
WAssert
(
vals
,
"Data type and data type indicator must fit."
);
newValueSet
=
iterativeFilterField
(
vals
,
iterations
);
break
;
}
case
W_DT_SIGNED_INT
:
{
boost
::
shared_ptr
<
WValueSet
<
int32_t
>
>
vals
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment