Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
245fc164
Commit
245fc164
authored
Sep 10, 2011
by
Alexander Wiebel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DOC] typos
parent
88ece8db
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
src/core/graphicsEngine/shaders/shaders/WGEPostprocessor-fragment.glsl
...hicsEngine/shaders/shaders/WGEPostprocessor-fragment.glsl
+2
-2
src/modules/effectiveConnectivityCluster/WMEffectiveConnectivityCluster.cpp
...iveConnectivityCluster/WMEffectiveConnectivityCluster.cpp
+1
-1
src/modules/effectiveConnectivityCluster/WMEffectiveConnectivityCluster.h
...ctiveConnectivityCluster/WMEffectiveConnectivityCluster.h
+1
-1
src/modules/gaussProcesses/WGaussProcess.h
src/modules/gaussProcesses/WGaussProcess.h
+2
-2
src/modules/gaussProcesses/detTractClusteringGP/WMDetTractClusteringGP.cpp
...Processes/detTractClusteringGP/WMDetTractClusteringGP.cpp
+1
-1
No files found.
src/core/graphicsEngine/shaders/shaders/WGEPostprocessor-fragment.glsl
View file @
245fc164
...
...
@@ -339,7 +339,7 @@ vec4 getGaussedColor( vec2 where )
vec4
gaussedColorbr
=
getColor
(
where
+
vec2
(
offsetX
,
offsetY
)
);
vec4
gaussedColorb
=
getColor
(
where
+
vec2
(
0
.
0
,
-
offsetY
)
);
// apply
g
auss filter
// apply
G
auss filter
vec4
gaussed
=
(
1
.
0
/
16
.
0
)
*
(
1
.
0
*
gaussedColortl
+
2
.
0
*
gaussedColort
+
1
.
0
*
gaussedColortr
+
2
.
0
*
gaussedColorl
+
4
.
0
*
gaussedColorc
+
2
.
0
*
gaussedColorr
+
...
...
@@ -379,7 +379,7 @@ float getGaussedDepth( vec2 where )
float
gaussedDepthbr
=
getDepth
(
where
+
vec2
(
offsetX
,
offsetY
)
);
float
gaussedDepthb
=
getDepth
(
where
+
vec2
(
0
.
0
,
-
offsetY
)
);
// apply
g
auss filter
// apply
G
auss filter
float
gaussed
=
(
1
.
0
/
16
.
0
)
*
(
1
.
0
*
gaussedDepthtl
+
2
.
0
*
gaussedDeptht
+
1
.
0
*
gaussedDepthtr
+
2
.
0
*
gaussedDepthl
+
4
.
0
*
gaussedDepthc
+
2
.
0
*
gaussedDepthr
+
...
...
src/modules/effectiveConnectivityCluster/WMEffectiveConnectivityCluster.cpp
View file @
245fc164
...
...
@@ -246,7 +246,7 @@ void WMEffectiveConnectivityCluster::moduleMain()
// Connect voxelizer input with the selected fibers
m_voxelizer
->
getInputConnector
(
"tractInput"
)
->
connect
(
m_fiberSelection
->
getOutputConnector
(
"cluster"
)
);
// Connect voxelizer output with the
g
auss filter
// Connect voxelizer output with the
G
auss filter
m_gauss
->
getInputConnector
(
"in"
)
->
connect
(
m_voxelizer
->
getOutputConnector
(
"voxelOutput"
)
);
// Connect voxelizer output with the animation
...
...
src/modules/effectiveConnectivityCluster/WMEffectiveConnectivityCluster.h
View file @
245fc164
...
...
@@ -151,7 +151,7 @@ private:
boost
::
shared_ptr
<
WModule
>
m_fiberSelection
;
//!< The fiber selection module.
boost
::
shared_ptr
<
WModule
>
m_voxelizer
;
//!< The voxelizer module.
boost
::
shared_ptr
<
WModule
>
m_gauss
;
//!< The
g
auss filter which filters the voxelized fibers.
boost
::
shared_ptr
<
WModule
>
m_gauss
;
//!< The
G
auss filter which filters the voxelized fibers.
boost
::
shared_ptr
<
WModule
>
m_animation
;
//!< The final animation.
/**
...
...
src/modules/gaussProcesses/WGaussProcess.h
View file @
245fc164
...
...
@@ -67,7 +67,7 @@ public:
* Computes the mean function describing this gausprocess as described in the Wassermann paper,
* see equation (16) on page 12.
*
* \param p The point where to evaluate the
g
auss process.
* \param p The point where to evaluate the
G
auss process.
*
* \return The mean value of this gaussian process at the point \e p.
*/
...
...
@@ -94,7 +94,7 @@ public:
* As each gaussian process is associated with a WFiber it also hat the maximal segment length,
* used as width for the gaussian kernels around the base points.
*
* \return Copy of the maximal segment length this
g
auss process is associated with.
* \return Copy of the maximal segment length this
G
auss process is associated with.
*/
double
getRadius
()
const
;
...
...
src/modules/gaussProcesses/detTractClusteringGP/WMDetTractClusteringGP.cpp
View file @
245fc164
...
...
@@ -210,7 +210,7 @@ boost::shared_ptr< WDendrogram > WMDetTractClusteringGP::computeDendrogram( size
{
if
(
*
it
!=
newCE
)
{
// we have two
g
auss processes p and q. We have merged p and q into pq. Hence for all valid indexes we must
// we have two
G
auss processes p and q. We have merged p and q into pq. Hence for all valid indexes we must
// recompute < pq, k > where k is a GP identified through an valid index, where:
// < pq, k > = |p| / ( |p| + |q| ) < p, k > + |q| / (|p| + |q|) < q, k >
double
firstFactor
=
static_cast
<
double
>
(
clusterSize
[
p
]
)
/
(
clusterSize
[
p
]
+
clusterSize
[
q
]
);
...
...
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