Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
LibAPR
Commits
0eac704c
Commit
0eac704c
authored
Feb 22, 2019
by
Krzysztof Gonciarz
Browse files
Print method for parameters
parent
c1342909
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/algorithm/APRParameters.hpp
View file @
0eac704c
...
...
@@ -6,6 +6,7 @@
#define PARTPLAY_APR_PARAMETERS_HPP
#include <string>
#include <iostream>
class
APRParameters
{
...
...
@@ -46,6 +47,22 @@ public:
std
::
string
input_image_name
;
std
::
string
input_dir
;
std
::
string
mask_file
;
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
APRParameters
&
obj
)
{
os
<<
"Ip_th="
<<
obj
.
Ip_th
<<
"
\n
"
;
os
<<
"SNR_min="
<<
obj
.
SNR_min
<<
"
\n
"
;
os
<<
"lambda="
<<
obj
.
lambda
<<
"
\n
"
;
os
<<
"min_signal="
<<
obj
.
min_signal
<<
"
\n
"
;
os
<<
"rel_error="
<<
obj
.
rel_error
<<
"
\n
"
;
os
<<
"sigma_th="
<<
obj
.
sigma_th
<<
"
\n
"
;
os
<<
"sigma_th_max="
<<
obj
.
sigma_th_max
<<
"
\n
"
;
os
<<
"auto_parameters="
<<
(
obj
.
auto_parameters
?
"true"
:
"false"
)
<<
"
\n
"
;
os
<<
"normalized_input="
<<
(
obj
.
normalized_input
?
"true"
:
"false"
)
<<
"
\n
"
;
os
<<
"neighborhood_optimization="
<<
(
obj
.
neighborhood_optimization
?
"true"
:
"false"
)
<<
"
\n
"
;
os
<<
"output_steps="
<<
(
obj
.
output_steps
?
"true"
:
"false"
)
<<
"
\n
"
;
return
os
;
}
};
...
...
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