OpenCV  4.10.0
开源计算机视觉库
正在加载...
正在搜索...
没有匹配项
| 命名空间 | | 类型定义 | 枚举 | 函数
base.hpp 文件参考
#include "opencv2/opencv_modules.hpp"
#include <climits>
#include <algorithm>
#include "opencv2/core/cvdef.h"
#include "opencv2/core/cvstd.hpp"
#include "opencv2/core/neon_utils.hpp"
#include "opencv2/core/vsx_utils.hpp"
#include "opencv2/core/check.hpp"
base.hpp 的包含依赖图
该图显示了哪些文件直接或间接包含此文件

结构体  cv::Hamming
 

命名空间

命名空间  cv
 与磁盘上的文件相关的文件存储的“黑盒”表示。
 
命名空间  cv::Error
 

#define CV_Assert(expr)   do { if(!!(expr)) ; else cv::error( cv::Error::StsAssert, #expr, CV_Func, __FILE__, __LINE__ ); } while(0)
 在运行时检查条件,如果失败则抛出异常。
 
#define CV_DbgAssert(expr)
 
#define CV_Error(code, msg)   cv::error( code, msg, CV_Func, __FILE__, __LINE__ )
 调用错误处理程序。
 
#define CV_Error_(code, args)   cv::error( code, cv::format args, CV_Func, __FILE__, __LINE__ )
 调用错误处理程序。
 

类型定义

typedef Hamming cv::HammingLUT
 

枚举

enum  cv::BorderTypes {
  cv::BORDER_CONSTANT = 0 ,
  cv::BORDER_REPLICATE = 1 ,
  cv::BORDER_REFLECT = 2 ,
  cv::BORDER_WRAP = 3 ,
  cv::BORDER_REFLECT_101 = 4 ,
  cv::BORDER_TRANSPARENT = 5 ,
  cv::BORDER_REFLECT101 = BORDER_REFLECT_101 ,
  cv::BORDER_DEFAULT = BORDER_REFLECT_101 ,
  cv::BORDER_ISOLATED = 16
}
 
enum  cv::CmpTypes {
  cv::CMP_EQ = 0 ,
  cv::CMP_GT = 1 ,
  cv::CMP_GE = 2 ,
  cv::CMP_LT = 3 ,
  cv::CMP_LE = 4 ,
  cv::CMP_NE = 5
}
 比较类型 更多...
 
enum  cv::Error::Code {
  cv::Error::StsOk = 0 ,
  cv::Error::StsBackTrace = -1 ,
  cv::Error::StsError = -2 ,
  cv::Error::StsInternal = -3 ,
  cv::Error::StsNoMem = -4 ,
  cv::Error::StsBadArg = -5 ,
  cv::Error::StsBadFunc = -6 ,
  cv::Error::StsNoConv = -7 ,
  cv::Error::StsAutoTrace = -8 ,
  cv::Error::HeaderIsNull = -9 ,
  cv::Error::BadImageSize = -10 ,
  cv::Error::BadOffset = -11 ,
  cv::Error::BadDataPtr = -12 ,
  cv::Error::BadStep = -13 ,
  cv::Error::BadModelOrChSeq = -14 ,
  cv::Error::BadNumChannels = -15 ,
  cv::Error::BadNumChannel1U = -16 ,
  cv::Error::BadDepth = -17 ,
  cv::Error::BadAlphaChannel = -18 ,
  cv::Error::BadOrder = -19 ,
  cv::Error::BadOrigin = -20 ,
  cv::Error::BadAlign = -21 ,
  cv::Error::BadCallBack = -22 ,
  cv::Error::BadTileSize = -23 ,
  cv::Error::BadCOI = -24 ,
  cv::Error::BadROISize = -25 ,
  cv::Error::MaskIsTiled = -26 ,
  cv::Error::StsNullPtr = -27 ,
  cv::Error::StsVecLengthErr = -28 ,
  cv::Error::StsFilterStructContentErr = -29 ,
  cv::Error::StsKernelStructContentErr = -30 ,
  cv::Error::StsFilterOffsetErr = -31 ,
  cv::Error::StsBadSize = -201 ,
  cv::Error::StsDivByZero = -202 ,
  cv::Error::StsInplaceNotSupported = -203 ,
  cv::Error::StsObjectNotFound = -204 ,
  cv::Error::StsUnmatchedFormats = -205 ,
  cv::Error::StsBadFlag = -206 ,
  cv::Error::StsBadPoint = -207 ,
  cv::Error::StsBadMask = -208 ,
  cv::Error::StsUnmatchedSizes = -209 ,
  cv::Error::StsUnsupportedFormat = -210 ,
  cv::Error::StsOutOfRange = -211 ,
  cv::Error::StsParseError = -212 ,
  cv::Error::StsNotImplemented = -213 ,
  cv::Error::StsBadMemBlock = -214 ,
  cv::Error::StsAssert = -215 ,
  cv::Error::GpuNotSupported = -216 ,
  cv::Error::GpuApiCallError = -217 ,
  cv::Error::OpenGlNotSupported = -218 ,
  cv::Error::OpenGlApiCallError = -219 ,
  cv::Error::OpenCLApiCallError = -220 ,
  cv::Error::OpenCLDoubleNotSupported = -221 ,
  cv::Error::OpenCLInitError = -222 ,
  cv::Error::OpenCLNoAMDBlasFft = -223
}
 错误代码 更多...
 
enum  cv::DecompTypes {
  cv::DECOMP_LU = 0 ,
  cv::DECOMP_SVD = 1 ,
  cv::DECOMP_EIG = 2 ,
  cv::DECOMP_CHOLESKY = 3 ,
  cv::DECOMP_QR = 4 ,
  cv::DECOMP_NORMAL = 16
}
 矩阵分解类型 更多...
 
enum  cv::DftFlags {
  cv::DFT_INVERSE = 1 ,
  cv::DFT_SCALE = 2 ,
  cv::DFT_ROWS = 4 ,
  cv::DFT_COMPLEX_OUTPUT = 16 ,
  cv::DFT_REAL_OUTPUT = 32 ,
  cv::DFT_COMPLEX_INPUT = 64 ,
  cv::DCT_INVERSE = DFT_INVERSE ,
  cv::DCT_ROWS = DFT_ROWS
}
 
enum  cv::GemmFlags {
  cv::GEMM_1_T = 1 ,
  cv::GEMM_2_T = 2 ,
  cv::GEMM_3_T = 4
}
 广义矩阵乘法标志 更多...
 
enum  cv::NormTypes {
  cv::NORM_INF = 1 ,
  cv::NORM_L1 = 2 ,
  cv::NORM_L2 = 4 ,
  cv::NORM_L2SQR = 5 ,
  cv::NORM_HAMMING = 6 ,
  cv::NORM_HAMMING2 = 7 ,
  cv::NORM_TYPE_MASK = 7 ,
  cv::NORM_RELATIVE = 8 ,
  cv::NORM_MINMAX = 32
}
 

函数

bool cv::Cholesky (double *A, size_t astep, int m, double *b, size_t bstep, int n)
 
bool cv::Cholesky (float *A, size_t astep, int m, float *b, size_t bstep, int n)
 
static double cv::cubeRoot (double val)
 
float cv::cubeRoot (float val)
 计算参数的立方根。
 
template<typename _Tp >
_Tp cv::cv_abs (_Tp x)
 
int cv::cv_abs (schar x)
 
int cv::cv_abs (short x)
 
int cv::cv_abs (uchar x)
 
int cv::cv_abs (ushort x)
 
void cv::error (int _code, const String &_err, const char *_func, const char *_file, int _line)
 发出错误信号并引发异常。
 
float cv::fastAtan2 (float y, float x)
 以度为单位计算二维向量的角度。
 
int cv::LU (double *A, size_t astep, int m, double *b, size_t bstep, int n)
 
int cv::LU (float *A, size_t astep, int m, float *b, size_t bstep, int n)
 
template<typename _Tp , typename _AccTp >
static _AccTp cv::normInf (const _Tp *a, const _Tp *b, int n)
 
template<typename _Tp , typename _AccTp >
static _AccTp cv::normInf (const _Tp *a, int n)
 
template<typename _Tp , typename _AccTp >
static _AccTp cv::normL1 (const _Tp *a, const _Tp *b, int n)
 
template<typename _Tp , typename _AccTp >
static _AccTp cv::normL1 (const _Tp *a, int n)
 
float cv::normL1 (const float *a, const float *b, int n)
 
int cv::normL1 (const uchar *a, const uchar *b, int n)
 
template<typename _Tp , typename _AccTp >
static _AccTp cv::normL2Sqr (const _Tp *a, const _Tp *b, int n)
 
template<typename _Tp , typename _AccTp >
static _AccTp cv::normL2Sqr (const _Tp *a, int n)
 
static float cv::normL2Sqr (const float *a, const float *b, int n)