| 4 | #include "include/postProcessing.h" |
| 5 | |
| 6 | void 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 | |
| 28 | int main(int argc, char *argv[]) |
| 29 | { |