2019-03-19 13:49:57 +00:00
|
|
|
#ifndef GENETIC_IMAGE_INCLUDE_GENIMG_COMMON_HH_
|
|
|
|
#define GENETIC_IMAGE_INCLUDE_GENIMG_COMMON_HH_
|
|
|
|
|
|
|
|
#include <opencv2/core/core.hpp>
|
|
|
|
#include <opencv2/highgui/highgui.hpp>
|
2019-03-20 19:14:55 +00:00
|
|
|
#include <spdlog/spdlog.h>
|
2019-03-19 13:49:57 +00:00
|
|
|
#include <string>
|
|
|
|
#include <tuple>
|
2019-03-20 19:14:55 +00:00
|
|
|
#include <random>
|
|
|
|
|
|
|
|
std::tuple<cv::Mat, cv::Mat> init_image(std::string const &);
|
2019-03-19 13:49:57 +00:00
|
|
|
|
2019-03-20 19:14:55 +00:00
|
|
|
double euclidian_distance(cv::Mat const &, cv::Mat const &);
|
2019-03-19 16:20:04 +00:00
|
|
|
|
2019-03-20 19:14:55 +00:00
|
|
|
cv::Scalar random_color(std::mt19937 &);
|
2019-03-19 13:49:57 +00:00
|
|
|
|
|
|
|
#endif /* GENETIC_IMAGE_INCLUDE_GENIMG_COMMON_HH_ */
|