![]() |
OpenCV
4.6.0
Open Source Computer Vision
|
#include <opencv2/core/base.hpp>Namespaces | |
| cv | |
| "black box" representation of the file storage associated with a file on disk. | |
Macros | |
| #define | CV_Check(v, test_expr, msg) CV__CHECK_CUSTOM_TEST(_, auto, v, (test_expr), #v, #test_expr, msg) |
| Example: v == A || v == B. More... | |
| #define | CV_CheckChannelsEQ(c1, c2, msg) CV__CHECK(_, EQ, MatChannels, c1, c2, #c1, #c2, msg) |
| #define | CV_CheckDepth(t, test_expr, msg) CV__CHECK_CUSTOM_TEST(_, MatDepth, t, (test_expr), #t, #test_expr, msg) |
| Example: depth == CV_32F || depth == CV_64F. More... | |
| #define | CV_CheckDepthEQ(d1, d2, msg) CV__CHECK(_, EQ, MatDepth, d1, d2, #d1, #d2, msg) |
| Check with additional "decoding" of depth values in error message. More... | |
| #define | CV_CheckEQ(v1, v2, msg) CV__CHECK(_, EQ, auto, v1, v2, #v1, #v2, msg) |
| Supported values of these types: int, float, double. More... | |
| #define | CV_CheckGE(v1, v2, msg) CV__CHECK(_, GE, auto, v1, v2, #v1, #v2, msg) |
| #define | CV_CheckGT(v1, v2, msg) CV__CHECK(_, GT, auto, v1, v2, #v1, #v2, msg) |
| #define | CV_CheckLE(v1, v2, msg) CV__CHECK(_, LE, auto, v1, v2, #v1, #v2, msg) |
| #define | CV_CheckLT(v1, v2, msg) CV__CHECK(_, LT, auto, v1, v2, #v1, #v2, msg) |
| #define | CV_CheckNE(v1, v2, msg) CV__CHECK(_, NE, auto, v1, v2, #v1, #v2, msg) |
| #define | CV_CheckType(t, test_expr, msg) CV__CHECK_CUSTOM_TEST(_, MatType, t, (test_expr), #t, #test_expr, msg) |
| Example: type == CV_8UC1 || type == CV_8UC3. More... | |
| #define | CV_CheckTypeEQ(t1, t2, msg) CV__CHECK(_, EQ, MatType, t1, t2, #t1, #t2, msg) |
| Check with additional "decoding" of type values in error message. More... | |
| #define | CV_DbgCheck(v, test_expr, msg) CV__CHECK_CUSTOM_TEST(_, auto, v, (test_expr), #v, #test_expr, msg) |
| Some complex conditions: CV_Check(src2, src2.empty() || (src2.type() == src1.type() && src2.size() == src1.size()), "src2 should have same size/type as src1") More... | |
| #define | CV_DbgCheckEQ(v1, v2, msg) CV__CHECK(_, EQ, auto, v1, v2, #v1, #v2, msg) |
| #define | CV_DbgCheckGE(v1, v2, msg) CV__CHECK(_, GE, auto, v1, v2, #v1, #v2, msg) |
| #define | CV_DbgCheckGT(v1, v2, msg) CV__CHECK(_, GT, auto, v1, v2, #v1, #v2, msg) |
| #define | CV_DbgCheckLE(v1, v2, msg) CV__CHECK(_, LE, auto, v1, v2, #v1, #v2, msg) |
| #define | CV_DbgCheckLT(v1, v2, msg) CV__CHECK(_, LT, auto, v1, v2, #v1, #v2, msg) |
| #define | CV_DbgCheckNE(v1, v2, msg) CV__CHECK(_, NE, auto, v1, v2, #v1, #v2, msg) |
Functions | |
| const char * | cv::depthToString (int depth) |
| String | cv::typeToString (int type) |
| #define CV_Check | ( | v, | |
| test_expr, | |||
| msg | |||
| ) | CV__CHECK_CUSTOM_TEST(_, auto, v, (test_expr), #v, #test_expr, msg) |
Example: v == A || v == B.
| #define CV_CheckChannelsEQ | ( | c1, | |
| c2, | |||
| msg | |||
| ) | CV__CHECK(_, EQ, MatChannels, c1, c2, #c1, #c2, msg) |
| #define CV_CheckDepth | ( | t, | |
| test_expr, | |||
| msg | |||
| ) | CV__CHECK_CUSTOM_TEST(_, MatDepth, t, (test_expr), #t, #test_expr, msg) |
Example: depth == CV_32F || depth == CV_64F.
| #define CV_CheckDepthEQ | ( | d1, | |
| d2, | |||
| msg | |||
| ) | CV__CHECK(_, EQ, MatDepth, d1, d2, #d1, #d2, msg) |
Check with additional "decoding" of depth values in error message.
| #define CV_CheckEQ | ( | v1, | |
| v2, | |||
| msg | |||
| ) | CV__CHECK(_, EQ, auto, v1, v2, #v1, #v2, msg) |
Supported values of these types: int, float, double.
| #define CV_CheckGE | ( | v1, | |
| v2, | |||
| msg | |||
| ) | CV__CHECK(_, GE, auto, v1, v2, #v1, #v2, msg) |
| #define CV_CheckGT | ( | v1, | |
| v2, | |||
| msg | |||
| ) | CV__CHECK(_, GT, auto, v1, v2, #v1, #v2, msg) |
| #define CV_CheckLE | ( | v1, | |
| v2, | |||
| msg | |||
| ) | CV__CHECK(_, LE, auto, v1, v2, #v1, #v2, msg) |
| #define CV_CheckLT | ( | v1, | |
| v2, | |||
| msg | |||
| ) | CV__CHECK(_, LT, auto, v1, v2, #v1, #v2, msg) |
| #define CV_CheckNE | ( | v1, | |
| v2, | |||
| msg | |||
| ) | CV__CHECK(_, NE, auto, v1, v2, #v1, #v2, msg) |
| #define CV_CheckType | ( | t, | |
| test_expr, | |||
| msg | |||
| ) | CV__CHECK_CUSTOM_TEST(_, MatType, t, (test_expr), #t, #test_expr, msg) |
Example: type == CV_8UC1 || type == CV_8UC3.
| #define CV_CheckTypeEQ | ( | t1, | |
| t2, | |||
| msg | |||
| ) | CV__CHECK(_, EQ, MatType, t1, t2, #t1, #t2, msg) |
Check with additional "decoding" of type values in error message.
| #define CV_DbgCheck | ( | v, | |
| test_expr, | |||
| msg | |||
| ) | CV__CHECK_CUSTOM_TEST(_, auto, v, (test_expr), #v, #test_expr, msg) |
Some complex conditions: CV_Check(src2, src2.empty() || (src2.type() == src1.type() && src2.size() == src1.size()), "src2 should have same size/type as src1")
| #define CV_DbgCheckEQ | ( | v1, | |
| v2, | |||
| msg | |||
| ) | CV__CHECK(_, EQ, auto, v1, v2, #v1, #v2, msg) |
| #define CV_DbgCheckGE | ( | v1, | |
| v2, | |||
| msg | |||
| ) | CV__CHECK(_, GE, auto, v1, v2, #v1, #v2, msg) |
| #define CV_DbgCheckGT | ( | v1, | |
| v2, | |||
| msg | |||
| ) | CV__CHECK(_, GT, auto, v1, v2, #v1, #v2, msg) |
| #define CV_DbgCheckLE | ( | v1, | |
| v2, | |||
| msg | |||
| ) | CV__CHECK(_, LE, auto, v1, v2, #v1, #v2, msg) |
| #define CV_DbgCheckLT | ( | v1, | |
| v2, | |||
| msg | |||
| ) | CV__CHECK(_, LT, auto, v1, v2, #v1, #v2, msg) |
| #define CV_DbgCheckNE | ( | v1, | |
| v2, | |||
| msg | |||
| ) | CV__CHECK(_, NE, auto, v1, v2, #v1, #v2, msg) |
1.8.13