MCPcopy Create free account
hub / github.com/SSARCandy/Coherent-Line-Drawing / print_parameters

Function print_parameters

src/cmd.cpp:6–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include "include/postProcessing.h"
5
6void print_parameters(const boost::program_options::variables_map &vm)
7{
8 // clang-format off
9 std::cout << "Source image path = " << vm["src"].as<std::string>() << std::endl;
10 std::cout << "Output image path = " << vm["output"].as<std::string>() << std::endl;
11 std::cout << "Generate post processed images = " << vm["debug_img"].as<bool>() << std::endl;
12
13 std::cout << "[ETF] Parameters\n"
14 << " kernel size = " << vm["ETF_kernel"].as<int>() << "\n"
15 << " iteration = " << vm["ETF_iter"].as<int>() << "\n"
16 << std::endl;
17
18 std::cout << "[CLD] Parameters\n"
19 << " iteration = " << vm["CLD_iter"].as<int>() << "\n"
20 << " sigma_c = " << vm["sigma_c"].as<float>() << "\n"
21 << " sigma_m = " << vm["sigma_m"].as<float>() << "\n"
22 << " rho = " << vm["rho"].as<float>() << "\n"
23 << " tau = " << vm["tau"].as<float>() << "\n"
24 << std::endl;
25 // clang-format on
26}
27
28int main(int argc, char *argv[])
29{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected