3 #define DGM_VERSION_MAJOR 1 4 #define DGM_VERSION_MINOR 7 5 #define DGM_VERSION_PATCH 0 26 #include "opencv2/opencv.hpp" 31 using byte =
unsigned __int8;
32 using word =
unsigned __int16;
33 using dword =
unsigned __int32;
34 using qword =
unsigned __int64;
37 using word = uint16_t;
38 using dword = uint32_t;
39 using qword = uint64_t;
42 using vec_mat_t = std::vector<Mat>;
43 using vec_bool_t = std::vector<bool>;
44 using vec_byte_t = std::vector<byte>;
45 using vec_word_t = std::vector<word>;
46 using vec_int_t = std::vector<int>;
47 using vec_float_t = std::vector<float>;
48 using vec_size_t = std::vector<size_t>;
49 using vec_string_t = std::vector<std::string>;
50 using vec_scalar_t = std::vector<Scalar>;
52 using pair_mat_t = std::pair<Mat, Mat>;
54 using ptr_float_t = std::unique_ptr<float[]>;
56 static const double Pi = 3.1415926;
57 static const float Pif = 3.1415926f;
59 template <
class T> T& lvalue_cast(T&& t) {
return t; }
61 #define EmptyMat Mat() 62 #define DllExport __declspec(dllexport) 64 #define EmptyMat lvalue_cast(Mat()) std::vector< std::pair< Scalar, std::string > > vec_nColor_t
std::shared_ptr< IEdgeModel > ptr_edgeModel_t