code cleanup, started report, new verbose option
This commit is contained in:
@@ -5,13 +5,10 @@
|
||||
#include <opencv2/highgui/highgui.hpp>
|
||||
#include <spdlog/spdlog.h>
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
#include <random>
|
||||
#include <utility>
|
||||
|
||||
std::tuple<cv::Mat, cv::Mat> init_image(std::string const &);
|
||||
std::pair<cv::Mat, cv::Mat> init_image(std::string const &);
|
||||
|
||||
double euclidian_distance(cv::Mat const &, cv::Mat const &);
|
||||
|
||||
cv::Scalar random_color(std::mt19937 &);
|
||||
|
||||
#endif /* GENETIC_IMAGE_INCLUDE_GENIMG_COMMON_HH_ */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef GENETIC_IMAGE_INCLUDE_GENIMG_METHOD1_METHOD1_HH_
|
||||
#define GENETIC_IMAGE_INCLUDE_GENIMG_METHOD1_METHOD1_HH_
|
||||
#ifndef GENETIC_IMAGE_INCLUDE_GENIMG_METHODS_HH_
|
||||
#define GENETIC_IMAGE_INCLUDE_GENIMG_METHODS_HH_
|
||||
|
||||
#include <opencv2/core/core.hpp>
|
||||
#include <opencv2/highgui/highgui.hpp>
|
||||
@@ -12,4 +12,4 @@ void method1(cv::Mat &t_reference, cv::Mat &t_output, int t_iterations,
|
||||
void method2(cv::Mat &t_reference, cv::Mat &t_output, int t_iterations,
|
||||
std::mt19937 &t_gen);
|
||||
|
||||
#endif /* GENETIC_IMAGE_INCLUDE_GENIMG_METHOD1_METHOD1_HH_ */
|
||||
#endif /* GENETIC_IMAGE_INCLUDE_GENIMG_METHODS_HH_ */
|
||||
@@ -2,10 +2,9 @@
|
||||
#define GENETIC_IMAGE_INCLUDE_GENIMG_PARSEARGS_HH_
|
||||
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
|
||||
std::tuple<std::filesystem::path, std::filesystem::path, bool, int, int>
|
||||
std::tuple<std::filesystem::path, std::filesystem::path, bool, int, int, bool>
|
||||
parse_args(int, char **);
|
||||
|
||||
#endif /* GENETIC_IMAGE_INCLUDE_GENIMG_PARSEARGS_HH_ */
|
||||
|
||||
Reference in New Issue
Block a user