New coding style
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
#ifndef GENETIC_IMAGE_INCLUDE_GENIMG_COMMON_HH_
|
||||
#define GENETIC_IMAGE_INCLUDE_GENIMG_COMMON_HH_
|
||||
|
||||
#include <spdlog/spdlog.h>
|
||||
#include <opencv2/core/core.hpp>
|
||||
#include <opencv2/highgui/highgui.hpp>
|
||||
#include <spdlog/spdlog.h>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
[[nodiscard]] std::pair<cv::Mat, cv::Mat>
|
||||
init_image(std::string const &) noexcept;
|
||||
[[nodiscard]] std::pair<cv::Mat, cv::Mat> init_image(
|
||||
std::string const&) noexcept;
|
||||
|
||||
[[nodiscard]] double euclidian_distance(cv::Mat const &, cv::Mat const &);
|
||||
[[nodiscard]] double euclidian_distance(cv::Mat const&, cv::Mat const&);
|
||||
|
||||
#endif /* GENETIC_IMAGE_INCLUDE_GENIMG_COMMON_HH_ */
|
||||
|
||||
@@ -6,7 +6,10 @@
|
||||
|
||||
enum class Shapes { Square, Circle };
|
||||
|
||||
void draw_shape(cv::Mat &, cv::Point const &, int const, cv::Scalar const &,
|
||||
Shapes const &);
|
||||
void draw_shape(cv::Mat&,
|
||||
cv::Point const&,
|
||||
int const,
|
||||
cv::Scalar const&,
|
||||
Shapes const&);
|
||||
|
||||
#endif /* GENETIC_IMAGE_INCLUDE_GENIMG_DRAWING_HH_ */
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
#ifndef GENETIC_IMAGE_INCLUDE_GENIMG_METHODS_HH_
|
||||
#define GENETIC_IMAGE_INCLUDE_GENIMG_METHODS_HH_
|
||||
|
||||
#include <spdlog/spdlog.h>
|
||||
#include <opencv2/core/core.hpp>
|
||||
#include <opencv2/highgui/highgui.hpp>
|
||||
#include <spdlog/spdlog.h>
|
||||
|
||||
void method1(cv::Mat const &, cv::Mat &, int);
|
||||
void method1(cv::Mat const&, cv::Mat&, int);
|
||||
|
||||
void method2(cv::Mat const &, cv::Mat &, int);
|
||||
void method2(cv::Mat const&, cv::Mat&, int);
|
||||
|
||||
void method3(cv::Mat const &, cv::Mat &, int);
|
||||
void method3(cv::Mat const&, cv::Mat&, int);
|
||||
|
||||
#endif /* GENETIC_IMAGE_INCLUDE_GENIMG_METHODS_HH_ */
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#include <filesystem>
|
||||
#include <tuple>
|
||||
|
||||
[[nodiscard]] std::tuple<std::filesystem::path, std::filesystem::path, int, int,
|
||||
bool>
|
||||
parse_args(int, char **);
|
||||
[[nodiscard]] std::
|
||||
tuple<std::filesystem::path, std::filesystem::path, int, int, bool>
|
||||
parse_args(int, char**);
|
||||
|
||||
#endif /* GENETIC_IMAGE_INCLUDE_GENIMG_PARSEARGS_HH_ */
|
||||
|
||||
Reference in New Issue
Block a user