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
48a8a614
Commit
48a8a614
authored
Feb 15, 2011
by
Sebastian Eichelbaum
Browse files
[STYLE]
parent
2f8b7254
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/modules/histogramEqualization/WMHistogramEqualization.cpp
...modules/histogramEqualization/WMHistogramEqualization.cpp
+3
-2
No files found.
src/modules/histogramEqualization/WMHistogramEqualization.cpp
View file @
48a8a614
...
...
@@ -212,7 +212,8 @@ void WMHistogramEqualization::moduleMain()
curI
++
;
}
debugLog
()
<<
"Clamped "
<<
perc
<<
"% of ["
<<
hist
->
getMinimum
()
<<
", "
<<
hist
->
getMaximum
()
<<
"]"
<<
" resulting in new interval ["
<<
lower
<<
", "
<<
upper
<<
")."
;
debugLog
()
<<
"Clamped "
<<
perc
<<
"% of ["
<<
hist
->
getMinimum
()
<<
", "
<<
hist
->
getMaximum
()
<<
"]"
<<
" resulting in new interval ["
<<
lower
<<
", "
<<
upper
<<
")."
;
// with this new interval, extract a new histogram and use it for equalization
hist
=
boost
::
shared_ptr
<
const
WValueSetHistogram
>
(
new
WValueSetHistogram
(
valueSet
,
lower
,
upper
,
cdfHistRes
)
);
...
...
@@ -281,7 +282,7 @@ void WMHistogramEqualization::moduleMain()
boost
::
shared_ptr
<
std
::
vector
<
double
>
>
(
new
std
::
vector
<
double
>
(
newData
)
),
W_DT_DOUBLE
)
),
dataSet
->
getGrid
()
)
)
;
);
m_output
->
updateData
(
d
);
debugLog
()
<<
"Done"
;
...
...
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