OpenCV 4.10.0
开源计算机视觉
|
#include <functional>
#include <iostream>
#include <string>
#include <type_traits>
#include <unordered_map>
#include <utility>
#include <opencv2/gapi/gcommon.hpp>
#include <opencv2/gapi/util/util.hpp>
#include <opencv2/gapi/gcall.hpp>
#include <opencv2/gapi/garg.hpp>
#include <opencv2/gapi/gmetaarg.hpp>
#include <opencv2/gapi/gtype_traits.hpp>
#include <opencv2/gapi/util/compiler_hints.hpp>
#include <opencv2/gapi/gtransform.hpp>
命名空间 | |
namespace | cv |
与磁盘上文件关联的文件存储的“黑盒”表示。 | |
namespace | cv::detail |
namespace | cv::gapi |
namespace | STL命名空间。 |
“black box” representation of the file storage associated with a file on disk. | |
宏 | |
#define | __WRAP_VAARGS(x) x |
#define | COMBINE_SIGNATURE(...) __VA_ARGS__ |
#define | G_API_OP G_TYPED_KERNEL |
#define | G_API_OP_M G_API_OP |
#define | G_TYPED_KERNEL(Class, ...) |
#define | G_TYPED_KERNEL_HELPER(Class, API, Id) |
#define | G_TYPED_KERNEL_HELPER_10(Class, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, Id) G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10), Id) |
#define | G_TYPED_KERNEL_HELPER_2(Class, _1, _2, Id) G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2), Id) |
#define | G_TYPED_KERNEL_HELPER_3(Class, _1, _2, _3, Id) G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3), Id) |
#define | G_TYPED_KERNEL_HELPER_4(Class, _1, _2, _3, _4, Id) G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4), Id) |
#define | G_TYPED_KERNEL_HELPER_5(Class, _1, _2, _3, _4, _5, Id) G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5), Id) |
#define | G_TYPED_KERNEL_HELPER_6(Class, _1, _2, _3, _4, _5, _6, Id) G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5, _6), Id) |
#define | G_TYPED_KERNEL_HELPER_7(Class, _1, _2, _3, _4, _5, _6, _7, Id) G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5, _6, _7), Id) |
#define | G_TYPED_KERNEL_HELPER_8(Class, _1, _2, _3, _4, _5, _6, _7, _8, Id) G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5, _6, _7, _8), Id) |
#define | G_TYPED_KERNEL_HELPER_9(Class, _1, _2, _3, _4, _5, _6, _7, _8, _9, Id) G_TYPED_KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5, _6, _7, _8, _9), Id) |
#define | G_TYPED_KERNEL_M G_TYPED_KERNEL |
#define | GET_G_TYPED_KERNEL(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, NAME, ...) NAME |
类型定义 | |
using | cv::GCtors = std::vector<detail::HostCtor > |
using | cv::gapi::GKernelPackage = cv::GKernelPackage |
using | cv::GKinds = std::vector<cv::detail::OpaqueKind > |
using | cv::GShapes = std::vector<GShape > |
template<typename T > | |
using | cv::detail::is_nongapi_type = std::is_same< T, typename MetaType< T >::type > |
函数 | |
template<typename... Ps> | |
cv::GKernelPackage | cv::gapi::combine (const cv::GKernelPackage &a, const cv::GKernelPackage &b, Ps &&... rest) |
将多个G-API内核包合并成一个。 | |
cv::GKernelPackage | cv::gapi::combine (const cv::GKernelPackage &lhs, const cv::GKernelPackage &rhs) |
template<typename T > | |
std::enable_if< is_nongapi_type< T >::value, T >::type | cv::detail::get_in_meta (const GMetaArgs &, const GArgs &in_args, int idx) |
template<typename T > | |
std::enable_if<!is_nongapi_type< T >::value, typenameMetaType< T >::type >::type | cv::detail::get_in_meta (const GMetaArgs &in_meta, const GArgs &, int idx) |
template<typename... KK> | |
GKernelPackage | cv::gapi::kernels () |
创建一个包含由变长模板参数指定的内核和变换的内核包对象。 | |
template<typename... FF> | |
GKernelPackage | cv::gapi::kernels (FF &... functors) |
bool | cv::gapi::operator!= (const GBackend &lhs, const GBackend &rhs) |
变量 | |
class GAPI_EXPORTS_W_SIMPLE | cv::GKernelPackage |
#define __WRAP_VAARGS | ( | x | ) | x |
#define COMBINE_SIGNATURE | ( | ... | ) | __VA_ARGS__ |
#define G_API_OP G_TYPED_KERNEL |
#define G_API_OP_M G_API_OP |
#define G_TYPED_KERNEL | ( | 类, | |
... | |||
) |
声明一个新的G-API操作。有关详细信息,请参阅Kernel API。
Class | 此操作的类型名称。 |
宏定义 G_TYPED_KERNEL_HELPER | ( | 类, | |
API, | |||
Id | |||
) |
G_TYPED KERNEL Helper宏声明了一个新的G-API操作。有关详细信息,请参阅Kernel API。
Class | 此操作的类型名称。 |
API | 操作的`std::function<>()`-like签名;返回类型是单个值或多个值的元组。 |
Id | 操作的字符串标识符。必须唯一。 |
宏定义 G_TYPED KERNEL_HELPER_10 | ( | 类, | |
_1, | |||
_2, | |||
_3, | |||
_4, | |||
_5, | |||
_6, | |||
_7, | |||
_8, | |||
_9, | |||
_10, | |||
Id | |||
) | G_TYPED KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10), Id) |
宏定义 G_TYPED KERNEL_HELPER_2 | ( | 类, | |
_1, | |||
_2, | |||
Id | |||
) | G_TYPED KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2), Id) |
宏定义 G_TYPED KERNEL_HELPER_3 | ( | 类, | |
_1, | |||
_2, | |||
_3, | |||
Id | |||
) | G_TYPED KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3), Id) |
宏定义 G_TYPED KERNEL_HELPER_4 | ( | 类, | |
_1, | |||
_2, | |||
_3, | |||
_4, | |||
Id | |||
) | G_TYPED KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4), Id) |
宏定义 G_TYPED KERNEL_HELPER_5 | ( | 类, | |
_1, | |||
_2, | |||
_3, | |||
_4, | |||
_5, | |||
Id | |||
) | G_TYPED KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5), Id) |
宏定义 G_TYPED KERNEL_HELPER_6 | ( | 类, | |
_1, | |||
_2, | |||
_3, | |||
_4, | |||
_5, | |||
_6, | |||
Id | |||
) | G_TYPED KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5, _6), Id) |
宏定义 G_TYPED KERNEL_HELPER_7 | ( | 类, | |
_1, | |||
_2, | |||
_3, | |||
_4, | |||
_5, | |||
_6, | |||
_7, | |||
Id | |||
) | G_TYPED KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5, _6, _7), Id) |
宏定义 G_TYPED KERNEL_HELPER_8 | ( | 类, | |
_1, | |||
_2, | |||
_3, | |||
_4, | |||
_5, | |||
_6, | |||
_7, | |||
_8, | |||
Id | |||
) | G_TYPED KERNEL_HELPER(Class, COMBINE_SIGNATURE(_1, _2, _3, _4, _5, _6, _7, _8), Id) |
宏定义 G_TYPED KERNEL_HELPER_9 | ( | 类, | |
_1, | |||
_2, | |||
_3, | |||
_4, | |||
_5, | |||
_6, | |||
_7, | |||
_8, | |||
_9, | |||
Id | |||
) | G_TYPED_KERNEL_HELPER(类, COMBINE_SIGNATURE(_1, _2, _3, _4, _5, _6, _7, _8, _9), Id) |
#define G_TYPED_KERNEL_M G_TYPED_KERNEL |
#define GET_G_TYPED_KERNEL | ( | _1, | |
_2, | |||
_3, | |||
_4, | |||
_5, | |||
_6, | |||
_7, | |||
_8, | |||
_9, | |||
_10, | |||
_11, | |||
NAME, | |||
... | |||
) | NAME |