genetic-images/include/genimg/common.hh

16 lines
465 B
C++
Raw Normal View History

#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-28 11:39:33 +00:00
#include <spdlog/spdlog.h>
#include <string>
#include <utility>
2019-03-20 19:14:55 +00:00
2019-04-01 14:55:02 +00:00
[[nodiscard]] auto init_image(std::string const&) noexcept
-> std::pair<cv::Mat, cv::Mat>;
2019-04-01 14:55:02 +00:00
[[nodiscard]] auto euclidian_distance(cv::Mat const&, cv::Mat const&) -> double;
#endif /* GENETIC_IMAGE_INCLUDE_GENIMG_COMMON_HH_ */