moved image initialization to new files
This commit is contained in:
12
include/genimg/common.hh
Normal file
12
include/genimg/common.hh
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef GENETIC_IMAGE_INCLUDE_GENIMG_COMMON_HH_
|
||||
#define GENETIC_IMAGE_INCLUDE_GENIMG_COMMON_HH_
|
||||
|
||||
#include <opencv2/core/core.hpp>
|
||||
#include <opencv2/highgui/highgui.hpp>
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
#include <spdlog/spdlog.h>
|
||||
|
||||
std::tuple<cv::Mat, cv::Mat> init_image(const std::string &t_input_file);
|
||||
|
||||
#endif /* GENETIC_IMAGE_INCLUDE_GENIMG_COMMON_HH_ */
|
||||
9
include/genimg/parseargs.hh
Normal file
9
include/genimg/parseargs.hh
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef GENETIC_IMAGE_INCLUDE_GENIMG_PARSEARGS_HH_
|
||||
#define GENETIC_IMAGE_INCLUDE_GENIMG_PARSEARGS_HH_
|
||||
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
|
||||
std::tuple<std::string, std::string, bool, int> parse_args(int, char **);
|
||||
|
||||
#endif /* GENETIC_IMAGE_INCLUDE_GENIMG_PARSEARGS_HH_ */
|
||||
Reference in New Issue
Block a user