OpenCV 4.11.0
开源计算机视觉库
加载中…
搜索中…
无匹配项
基本结构

详细描述

命名空间

命名空间 cv::traits
 

类 cv::_InputArray
 这是用于将只读输入数组传递到 OpenCV 函数的代理类。 更多…
 
类 cv::_InputOutputArray
 
类 cv::_OutputArray
 此类型与 InputArray 非常相似,只是它用于输入/输出和输出函数参数。 更多…
 
类 cv::Algorithm
 这是 OpenCV 中所有或多或少复杂算法的基类。 更多…
 
类 cv::Complex< _Tp >
 复数类。 更多…
 
类 cv::DataDepth< _Tp >
 用于 cv::DataType 的辅助类。 更多…
 
类 cv::DataType< _Tp >
 OpenCV 基本数据类型的模板“特性”类。 更多…
 
类 cv::DMatch
 用于匹配关键点描述符的类。 更多…
 
类 cv::Formatted
 
类 cv::Formatter
 
类 cv::KeyPoint
 显著点检测器的數據結構。 更多…
 
类 cv::Mat
 n 维密集数组类 更多…
 
类 cv::Mat_< _Tp >
 Mat 派生的模板矩阵类。 更多…
 
类 cv::MatAllocator
 自定义数组分配器。 更多…
 
类 cv::MatCommaInitializer_< _Tp >
 逗号分隔的矩阵初始化器。 更多…
 
类 cv::MatConstIterator
 
类 cv::MatConstIterator_< _Tp >
 矩阵只读迭代器。 更多…
 
类 cv::MatExpr
 矩阵表达式表示 这是一个已实现的矩阵运算列表,可以组合成任意复杂的表达式(这里 A、B 代表矩阵(Mat)、s 代表标量(Scalar)、alpha 代表实值标量(double)): 更多…
 
类 cv::MatIterator_< _Tp >
 矩阵读写迭代器。 更多…
 
类 cv::MatOp
 
结构体 cv::MatSize
 
结构体 cv::MatStep
 
类 cv::Matx< _Tp, m, n >
 用于小型矩阵的模板类,其类型和大小在编译时已知。 更多…
 
类 cv::NAryMatIterator
 n 元多维数组迭代器。 更多…
 
结构体 cv::ParamType< _Tp, _EnumTp >
 
结构体 cv::ParamType< _Tp, typename std::enable_if< std::is_enum< _Tp >::value >::type >
 
结构体 cv::ParamType< Algorithm >
 
结构体 cv::ParamType< bool >
 
结构体 cv::ParamType< double >
 
结构体 cv::ParamType< float >
 
结构体 cv::ParamType< Mat >
 
结构体 cv::ParamType< Scalar >
 
结构体 cv::ParamType< std::vector< Mat > >
 
结构体 cv::ParamType< String >
 
结构体 cv::ParamType< uchar >
 
结构体 cv::ParamType< uint64 >
 
结构体 cv::ParamType< unsigned >
 
类 cv::Point3_< _Tp >
 用于由其坐标xyz指定的 3D 点的模板类。 更多…
 
类 cv::Point_< _Tp >
 用于由其坐标xy指定的 2D 点的模板类。 更多…
 
类 cv::Range
 指定序列的连续子序列(切片)的模板类。 更多…
 
类 cv::Rect_< _Tp >
 用于 2D 矩形的模板类。 更多…
 
类 cv::RotatedRect
 此类表示平面上的旋转(即非直立)矩形。 更多…
 
类 cv::Scalar_< _Tp >
 Vec 派生的 4 元素向量模板类。 更多…
 
类 cv::Size_< _Tp >
 用于指定图像或矩形大小的模板类。 更多…
 
类 cv::SparseMat
 SparseMat 表示多维稀疏数值数组。 更多…
 
类 cv::SparseMat_< _Tp >
 SparseMat 派生的模板稀疏 n 维数组类。 更多…
 
类 cv::SparseMatConstIterator
 只读稀疏矩阵迭代器。 更多…
 
类 cv::SparseMatConstIterator_< _Tp >
 模板只读稀疏矩阵迭代器类。 更多…
 
类 cv::SparseMatIterator
 读写稀疏矩阵迭代器。 更多…
 
类 cv::SparseMatIterator_< _Tp >
 模板读写稀疏矩阵迭代器类。 更多…
 
类 cv::TermCriteria
 定义迭代算法终止条件的类。 更多…
 
类 cv::UMat
 
结构体 cv::UMatData
 
类 cv::Vec< _Tp, cn >
 用于短数值向量的模板类,是 Matx 的一个特例。 更多…
 

类型定义

typedef Complex< double > cv::Complexd
 
typedef Complex< float > cv::Complexf
 
typedef const _InputArraycv::InputArray
 
typedef InputArray cv::InputArrayOfArrays
 
typedef const _InputOutputArraycv::InputOutputArray
 
typedef InputOutputArray cv::InputOutputArrayOfArrays
 
typedef Mat_< ucharcv::Mat1b
 
typedef Mat_< double > cv::Mat1d
 
typedef Mat_< float > cv::Mat1f
 
typedef Mat_< int > cv::Mat1i
 
typedef Mat_< short > cv::Mat1s
 
typedef Mat_< ushortcv::Mat1w
 
typedef Mat_< Vec2bcv::Mat2b
 
typedef Mat_< Vec2dcv::Mat2d
 
typedef Mat_< Vec2fcv::Mat2f
 
typedef Mat_< Vec2icv::Mat2i
 
typedef Mat_< Vec2scv::Mat2s
 
typedef Mat_< Vec2wcv::Mat2w
 
typedef Mat_< Vec3bcv::Mat3b
 
typedef Mat_< Vec3dcv::Mat3d
 
typedef Mat_< Vec3fcv::Mat3f
 
typedef Mat_< Vec3icv::Mat3i
 
typedef Mat_< Vec3scv::Mat3s
 
typedef Mat_< Vec3wcv::Mat3w
 
typedef Mat_< Vec4bcv::Mat4b
 
typedef Mat_< Vec4dcv::Mat4d
 
typedef Mat_< Vec4fcv::Mat4f
 
typedef Mat_< Vec4icv::Mat4i
 
typedef Mat_< Vec4scv::Mat4s
 
typedef Mat_< Vec4wcv::Mat4w
 
typedef Matx< double, 1, 2 > cv::Matx12d
 
typedef Matx< float, 1, 2 > cv::Matx12f
 
typedef Matx< double, 1, 3 > cv::Matx13d
 
typedef Matx< float, 1, 3 > cv::Matx13f
 
typedef Matx< double, 1, 4 > cv::Matx14d
 
typedef Matx< float, 1, 4 > cv::Matx14f
 
typedef Matx< double, 1, 6 > cv::Matx16d
 
typedef Matx< float, 1, 6 > cv::Matx16f
 
typedef Matx< double, 2, 1 > cv::Matx21d
 
typedef Matx< float, 2, 1 > cv::Matx21f
 
typedef Matx< double, 2, 2 > cv::Matx22d
 
typedef Matx< float, 2, 2 > cv::Matx22f
 
typedef Matx< double, 2, 3 > cv::Matx23d
 
typedef Matx< float, 2, 3 > cv::Matx23f
 
typedef Matx< double, 3, 1 > cv::Matx31d
 
typedef Matx< float, 3, 1 > cv::Matx31f
 
typedef Matx< double, 3, 2 > cv::Matx32d
 
typedef Matx< float, 3, 2 > cv::Matx32f
 
typedef Matx< double, 3, 3 > cv::Matx33d
 
typedef Matx< float, 3, 3 > cv::Matx33f
 
typedef Matx< double, 3, 4 > cv::Matx34d
 
typedef Matx< float, 3, 4 > cv::Matx34f
 
typedef Matx< double, 4, 1 > cv::Matx41d
 
typedef Matx< float, 4, 1 > cv::Matx41f
 
typedef Matx< double, 4, 3 > cv::Matx43d
 
typedef Matx< float, 4, 3 > cv::Matx43f
 
typedef Matx< double, 4, 4 > cv::Matx44d
 
typedef Matx< float, 4, 4 > cv::Matx44f
 
typedef Matx< double, 6, 1 > cv::Matx61d
 
typedef Matx< float, 6, 1 > cv::Matx61f
 
typedef Matx< double, 6, 6 > cv::Matx66d
 
typedef Matx< float, 6, 6 > cv::Matx66f
 
typedef const _OutputArraycv::OutputArray
 
typedef OutputArray cv::OutputArrayOfArrays
 
typedef Point2i cv::Point
 
typedef Point_< double > cv::Point2d
 
typedef Point_< float > cv::Point2f
 
typedef Point_< int > cv::Point2i
 
typedef Point_< int64cv::Point2l
 
typedef Point3_< double > cv::Point3d
 
typedef Point3_< float >cv::Point3f
 
typedef Point3_< int >cv::Point3i
 
template<typename _Tp >
usingcv::Ptr = std::shared_ptr<_Tp>
 
typedef Rect2icv::Rect
 
typedef Rect_< double >cv::Rect2d
 
typedef Rect_< float >cv::Rect2f
 
typedef Rect_< int >cv::Rect2i
 
typedef Scalar_< double >cv::Scalar
 
typedef Size2icv::Size
 
typedef Size_< double >cv::Size2d
 
typedef Size_< float >cv::Size2f
 
typedef Size_< int >cv::Size2i
 
typedef Size_< int64 >cv::Size2l
 
typedef std::stringcv::String
 

枚举

enumcv::AccessFlag {
  cv::ACCESS_READ =1<<24 ,
  cv::ACCESS_WRITE =1<<25 ,
  cv::ACCESS_RW =3<<24 ,
  cv::ACCESS_MASK =ACCESS_RW ,
  cv::ACCESS_FAST =1<<26
}
 
enum structcv::Param {
  cv::Param::INT =0 ,
  cv::Param::BOOLEAN =1 ,
  cv::Param::REAL =2 ,
  cv::Param::STRING =3 ,
  cv::Param::MAT =4 ,
  cv::Param::MAT_VECTOR =5 ,
  cv::Param::ALGORITHM =6 ,
  cv::Param::FLOAT =7 ,
  cv::Param::UNSIGNED_INT =8 ,
  cv::Param::UINT64 =9 ,
  cv::Param::UCHAR =11 ,
  cv::Param::SCALAR =12
}
 
enumcv::UMatUsageFlags {
  cv::USAGE_DEFAULT = 0 ,
  cv::USAGE_ALLOCATE_HOST_MEMORY = 1 << 0 ,
  cv::USAGE_ALLOCATE_DEVICE_MEMORY = 1 << 1 ,
  cv::USAGE_ALLOCATE_SHARED_MEMORY = 1 << 2 ,
  cv::__UMAT_USAGE_FLAGS_32BIT = 0x7fffffff
}
 分配器的使用标志。更多...
 

函数

template<typename _Tp , int m>
static doublecv::determinant (const Matx< _Tp, m, m > &a)
 
template<typename _Tp , typename ... A1>
static Ptr< _Tp >cv::makePtr (const A1 &... a1)
 
InputOutputArraycv::noArray ()
 返回一个空的InputArray或OutputArray。
 
template<typename _Tp , int m, int n>
static doublecv::norm (const Matx< _Tp, m, n > &M)
 
template<typename _Tp , int m, int n>
static doublecv::norm (const Matx< _Tp, m, n > &M, int normType)
 
template<typename _Tp , int cn>
Vec< _Tp, cn >cv::normalize (const Vec< _Tp, cn > &v)
 
template<typename _Tp , int m, int n>
static boolcv::operator!= (const Matx< _Tp, m, n > &a, const Matx< _Tp, m, n > &b)
 
template<typename _Tp , int m, int n, int l>
static Matx< _Tp, m, n >cv::operator* (const Matx< _Tp, m, l > &a, const Matx< _Tp, l, n > &b)
 
template<typename _Tp , int m, int n>
static Vec< _Tp, m >cv::operator* (const Matx< _Tp, m, n > &a, const Vec< _Tp, n > &b)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n >cv::operator* (const Matx< _Tp, m, n > &a, double alpha)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n >cv::operator* (const Matx< _Tp, m, n > &a, float alpha)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n >cv::operator* (const Matx< _Tp, m, n > &a, int alpha)
 
template<typename _Tp >
Vec< _Tp, 4 >cv::operator* (const Vec< _Tp, 4 > &v1, const Vec< _Tp, 4 > &v2)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn >cv::operator* (const Vec< _Tp, cn > &a, double alpha)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn >cv::operator* (const Vec< _Tp, cn > &a, float alpha)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn >cv::operator* (const Vec< _Tp, cn > &a, int alpha)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n >cv::operator* (double alpha, const Matx< _Tp, m, n > &a)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn >cv::operator* (double alpha, const Vec< _Tp, cn > &a)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n >cv::operator* (float alpha, const Matx< _Tp, m, n > &a)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn >cv::operator* (float alpha, const Vec< _Tp, cn > &a)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n >cv::operator* (int alpha, const Matx< _Tp, m, n > &a)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn >cv::operator* (int alpha, const Vec< _Tp, cn > &a)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > & cv::operator*= (Matx< _Tp, m, n > &a, double alpha)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > & cv::operator*= (Matx< _Tp, m, n > &a, float alpha)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > & cv::operator*= (Matx< _Tp, m, n > &a, int alpha)
 
template<typename _Tp >
Vec< _Tp, 4 > & cv::operator*= (Vec< _Tp, 4 > &v1, const Vec< _Tp, 4 > &v2)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > & cv::operator*= (Vec< _Tp, cn > &a, double alpha)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > & cv::operator*= (Vec< _Tp, cn > &a, float alpha)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > & cv::operator*= (Vec< _Tp, cn > &a, int alpha)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n >cv::operator+ (const Matx< _Tp, m, n > &a, const Matx< _Tp, m, n > &b)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn >cv::operator+ (const Vec< _Tp, cn > &a, const Vec< _Tp, cn > &b)
 
模板<typename _Tp1 , typename _Tp2 , int m, int n>
static Matx< _Tp1, m, n > & cv::operator+= (Matx< _Tp1, m, n > &a, const Matx< _Tp2, m, n > &b)
 
模板<typename _Tp1 , typename _Tp2 , int cn>
static Vec< _Tp1, cn > & cv::operator+= (Vec< _Tp1, cn > &a, const Vec< _Tp2, cn > &b)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n >cv::operator- (const Matx< _Tp, m, n > &a)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n >cv::operator- (const Matx< _Tp, m, n > &a, const Matx< _Tp, m, n > &b)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn >cv::operator- (const Vec< _Tp, cn > &a)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn >cv::operator- (const Vec< _Tp, cn > &a, const Vec< _Tp, cn > &b)
 
模板<typename _Tp1 , typename _Tp2 , int m, int n>
static Matx< _Tp1, m, n > & cv::operator-= (Matx< _Tp1, m, n > &a, const Matx< _Tp2, m, n > &b)
 
模板<typename _Tp1 , typename _Tp2 , int cn>
static Vec< _Tp1, cn > & cv::operator-= (Vec< _Tp1, cn > &a, const Vec< _Tp2, cn > &b)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n >cv::operator/ (const Matx< _Tp, m, n > &a, double alpha)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n >cv::operator/ (const Matx< _Tp, m, n > &a, float alpha)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn >cv::operator/ (const Vec< _Tp, cn > &a, double alpha)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn >cv::operator/ (const Vec< _Tp, cn > &a, float alpha)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn >cv::operator/ (const Vec< _Tp, cn > &a, int alpha)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > & cv::operator/= (Matx< _Tp, m, n > &a, double alpha)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > & cv::operator/= (Matx< _Tp, m, n > &a, float alpha)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > & cv::operator/= (Vec< _Tp, cn > &a, double alpha)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > & cv::operator/= (Vec< _Tp, cn > &a, float alpha)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > & cv::operator/= (Vec< _Tp, cn > &a, int alpha)
 
static Stringcv::operator<< (String &out, const Mat &mtx)
 
static Stringcv::operator<< (String &out, Ptr< Formatted > fmtd)
 
template<typename _Tp , int m, int n>
static boolcv::operator== (const Matx< _Tp, m, n > &a, const Matx< _Tp, m, n > &b)
 
template<typename _Tp >
静态 _InputArray cv::rawIn (_Tp &v)
 
template<typename _Tp >
静态 _InputOutputArray cv::rawInOut (_Tp &v)
 
template<typename _Tp >
静态 _OutputArray cv::rawOut (_Tp &v)
 
静态 std::string cv::toLowerCase (const std::string &str)
 
静态 std::string cv::toUpperCase (const std::string &str)
 
template<typename _Tp , int m, int n>
static doublecv::trace (const Matx< _Tp, m, n > &a)
 

Vec<T,n> 最常用特例的简短别名

typedef Vec< uchar, 2 > cv::Vec2b
 
typedef Vec< uchar, 3 > cv::Vec3b
 
typedef Vec< uchar, 4 > cv::Vec4b
 
typedef Vec< short, 2 > cv::Vec2s
 
typedef Vec< short, 3 > cv::Vec3s
 
typedef Vec< short, 4 > cv::Vec4s
 
typedef Vec< ushort, 2 > cv::Vec2w
 
typedef Vec< ushort, 3 > cv::Vec3w
 
typedef Vec< ushort, 4 > cv::Vec4w
 
typedef Vec< int, 2 > cv::Vec2i
 
typedef Vec< int, 3 > cv::Vec3i
 
typedef Vec< int, 4 > cv::Vec4i
 
typedef Vec< int, 6 > cv::Vec6i
 
typedef Vec< int, 8 > cv::Vec8i
 
typedef Vec< float, 2 > cv::Vec2f
 
typedef Vec< float, 3 > cv::Vec3f
 
typedef Vec< float, 4 > cv::Vec4f
 
typedef Vec< float, 6 > cv::Vec6f
 
typedef Vec< double, 2 > cv::Vec2d
 
typedef Vec< double, 3 > cv::Vec3d
 
typedef Vec< double, 4 > cv::Vec4d
 
typedef Vec< double, 6 > cv::Vec6d
 

类型定义文档

◆ Complexd

typedef Complex<double> cv::Complexd

◆ Complexf

typedef Complex<float> cv::Complexf

◆ InputArray

typedef const _InputArray& cv::InputArray

◆ InputArrayOfArrays

◆ InputOutputArray

◆ InputOutputArrayOfArrays

◆ Mat1b

◆ Mat1d

typedef Mat_<double> cv::Mat1d

◆ Mat1f

typedef Mat_<float> cv::Mat1f

◆ Mat1i

typedef Mat_<int> cv::Mat1i

◆ Mat1s

typedef Mat_<short> cv::Mat1s

◆ Mat1w

◆ Mat2b

◆ Mat2d

◆ Mat2f

◆ Mat2i

◆ Mat2s

◆ Mat2w

◆ Mat3b

◆ Mat3d

◆ Mat3f

◆ Mat3i

◆ Mat3s

◆ Mat3w

◆ Mat4b

◆ Mat4d

◆ Mat4f

◆ Mat4i

◆ Mat4s

◆ Mat4w

◆ Matx12d

typedef Matx<double, 1, 2> cv::Matx12d

◆ Matx12f

typedef Matx<float, 1, 2> cv::Matx12f

◆ Matx13d

typedef Matx<double, 1, 3> cv::Matx13d

◆ Matx13f

typedef Matx<float, 1, 3> cv::Matx13f

◆ Matx14d

typedef Matx<double, 1, 4> cv::Matx14d

◆ Matx14f

typedef Matx<float, 1, 4> cv::Matx14f

◆ Matx16d

typedef Matx<double, 1, 6> cv::Matx16d

◆ Matx16f

typedef Matx<float, 1, 6> cv::Matx16f

◆ Matx21d

typedef Matx<double, 2, 1> cv::Matx21d

◆ Matx21f

typedef Matx<float, 2, 1> cv::Matx21f

◆ Matx22d

typedef Matx<double, 2, 2> cv::Matx22d

◆ Matx22f

typedef Matx<float, 2, 2> cv::Matx22f

◆ Matx23d

typedef Matx<double, 2, 3> cv::Matx23d

◆ Matx23f

typedef Matx<float, 2, 3> cv::Matx23f

◆ Matx31d

typedef Matx<double, 3, 1> cv::Matx31d

◆ Matx31f

typedef Matx<float, 3, 1> cv::Matx31f

◆ Matx32d

typedef Matx<double, 3, 2> cv::Matx32d

◆ Matx32f

typedef Matx<float, 3, 2> cv::Matx32f

◆ Matx33d

typedef Matx<double, 3, 3> cv::Matx33d

◆ Matx33f

typedef Matx<float, 3, 3> cv::Matx33f

◆ Matx34d

typedef Matx<double, 3, 4> cv::Matx34d

◆ Matx34f

typedef Matx<float, 3, 4> cv::Matx34f

◆ Matx41d

typedef Matx<double, 4, 1> cv::Matx41d

◆ Matx41f

typedef Matx<float, 4, 1> cv::Matx41f

◆ Matx43d

typedef Matx<double, 4, 3> cv::Matx43d

◆ Matx43f

typedef Matx<float, 4, 3> cv::Matx43f

◆ Matx44d

typedef Matx<double, 4, 4> cv::Matx44d

◆ Matx44f

typedef Matx<float, 4, 4> cv::Matx44f

◆ Matx61d

typedef Matx<double, 6, 1> cv::Matx61d

◆ Matx61f

typedef Matx<float, 6, 1> cv::Matx61f

◆ Matx66d

typedef Matx<double, 6, 6> cv::Matx66d

◆ Matx66f

typedef Matx<float, 6, 6> cv::Matx66f

◆ OutputArray

◆ OutputArrayOfArrays

◆ Point

◆ Point2d

typedef Point_<double> cv::Point2d

◆ Point2f

◆ Point2i

typedef Point_<int> cv::Point2i

◆ Point2l

◆ Point3d

typedef Point3_<double> cv::Point3d

◆ Point3f

typedef Point3_<float> cv::Point3f

◆ Point3i

typedef Point3_<int> cv::Point3i

◆ Ptr

template<typename _Tp >
using cv::Ptr = std::shared_ptr<_Tp>

◆ Rect

◆ Rect2d

typedef Rect_<double> cv::Rect2d

◆ Rect2f

typedef Rect_<float> cv::Rect2f

◆ Rect2i

typedef Rect_<int> cv::Rect2i

◆ Scalar

typedef Scalar_<double> cv::Scalar

◆ Size

◆ Size2d

typedef Size_<double> cv::Size2d

◆ Size2f

typedef Size_<float> cv::Size2f

◆ Size2i

typedef Size_<int> cv::Size2i

◆ Size2l

◆ String

typedef std::string cv::String

◆ Vec2b

typedef Vec<uchar, 2> cv::Vec2b

◆ Vec2d

typedef Vec<double, 2> cv::Vec2d

◆ Vec2f

typedef Vec<float, 2> cv::Vec2f

◆ Vec2i

typedef Vec<int, 2> cv::Vec2i

◆ Vec2s

typedef Vec<short, 2> cv::Vec2s

◆ Vec2w

typedef Vec<ushort, 2> cv::Vec2w

◆ Vec3b

typedef Vec<uchar, 3> cv::Vec3b

◆ Vec3d

typedef Vec<double, 3> cv::Vec3d

◆ Vec3f

typedef Vec<float, 3> cv::Vec3f

◆ Vec3i

typedef Vec<int, 3> cv::Vec3i

◆ Vec3s

typedef Vec<short, 3> cv::Vec3s

◆ Vec3w

typedef Vec<ushort, 3> cv::Vec3w

◆ Vec4b

typedef Vec<uchar, 4> cv::Vec4b

◆ Vec4d

typedef Vec<double, 4> cv::Vec4d

◆ Vec4f

typedef Vec<float, 4> cv::Vec4f

◆ Vec4i

typedef Vec<int, 4> cv::Vec4i

◆ Vec4s

typedef Vec<short, 4> cv::Vec4s

◆ Vec4w

typedef Vec<ushort, 4> cv::Vec4w

◆ Vec6d

typedef Vec<double, 6> cv::Vec6d

◆ Vec6f

typedef Vec<float, 6> cv::Vec6f

◆ Vec6i

typedef Vec<int, 6> cv::Vec6i

◆ Vec8i

typedef Vec<int, 8> cv::Vec8i

枚举类型文档

◆ AccessFlag

#include <opencv2/core/mat.hpp>

枚举值
ACCESS_READ 
Python: cv.ACCESS_READ
ACCESS_WRITE 
Python: cv.ACCESS_WRITE
ACCESS_RW 
Python: cv.ACCESS_RW
ACCESS_MASK 
Python: cv.ACCESS_MASK
ACCESS_FAST 
Python: cv.ACCESS_FAST

◆ Param

enum struct cv::Param
强类型

#include <opencv2/core.hpp>

枚举值
INT 
BOOLEAN 
REAL 
STRING 
MAT 
MAT_VECTOR 
ALGORITHM 
FLOAT 
UNSIGNED_INT 
UINT64 
UCHAR 
SCALAR 

◆ UMatUsageFlags

#include <opencv2/core/mat.hpp>

分配器的使用标志。

警告
除了USAGE_DEFAULT之外的所有标志都是实验性的。
对于OpenCL分配器,USAGE_ALLOCATE_SHARED_MEMORY依赖于OpenCV与OpenCL SVM的可选、实验性集成。要启用此集成,请使用WITH_OPENCL_SVM=ON CMake选项构建OpenCV,并在运行时调用cv::ocl::Context::getDefault().setUseSVM(true);或类似代码。请注意,SVM与OpenCL 1.x不兼容。
枚举值
USAGE_DEFAULT 
Python: cv.USAGE_DEFAULT
USAGE_ALLOCATE_HOST_MEMORY 
Python: cv.USAGE_ALLOCATE_HOST_MEMORY
USAGE_ALLOCATE_DEVICE_MEMORY 
Python: cv.USAGE_ALLOCATE_DEVICE_MEMORY
USAGE_ALLOCATE_SHARED_MEMORY 
Python: cv.USAGE_ALLOCATE_SHARED_MEMORY
__UMAT_USAGE_FLAGS_32BIT 
Python: cv.__UMAT_USAGE_FLAGS_32BIT

函数文档

◆ determinant()

template<typename _Tp , int m>
static double cv::determinant ( const Matx< _Tp, m, m > & a)
inlinestatic
Python
cv.determinant(mtx) -> retval

◆ makePtr()

template<typename _Tp , typename ... A1>
static Ptr< _Tp > cv::makePtr ( const A1 &... a1)
inlinestatic

◆ noArray()

InputOutputArray cv::noArray ( )

#include <opencv2/core/mat.hpp>

返回一个空的InputArray或OutputArray。

此函数用于在某些函数需要可选输入或输出数组但您不想提供时,提供一个“空”或“null”数组。

许多OpenCV函数接受可选参数作为cv::InputArraycv::OutputArray。当您不想为这些可选参数传递任何数据时,可以使用cv::noArray() 来指示您正在省略它们。

返回值
一个可以作为占位符使用的空cv::InputArraycv::OutputArray
注意
这通常用于函数具有可选数组,而您不想提供特定输入或输出数组的情况。
参见
cv::InputArraycv::OutputArray

◆ norm() [1/2]

template<typename _Tp , int m, int n>
static double cv::norm ( const Matx< _Tp, m, n > & M)
inlinestatic
Python
cv.norm(src1[, normType[, mask]]) -> retval
cv.norm(src1, src2[, normType[, mask]]) -> retval

◆ norm() [2/2]

template<typename _Tp , int m, int n>
static double cv::norm ( const Matx< _Tp, m, n > & M,
int normType )
inlinestatic
Python
cv.norm(src1[, normType[, mask]]) -> retval
cv.norm(src1, src2[, normType[, mask]]) -> retval

◆ normalize()

template<typename _Tp , int cn>
Vec< _Tp, cn > cv::normalize ( const Vec< _Tp, cn > & v)
inline
Python
cv.normalize(src, dst[, alpha[, beta[, norm_type[, dtype[, mask]]]]]) -> dst

◆ operator!=()

template<typename _Tp , int m, int n>
static bool cv::operator!= ( const Matx< _Tp, m, n > & a,
const Matx< _Tp, m, n > & b )
inlinestatic

◆ operator*() [1/15]

template<typename _Tp , int m, int n, int l>
static Matx< _Tp, m, n > cv::operator* ( const Matx< _Tp, m, l > & a,
const Matx< _Tp, l, n > & b )
inlinestatic

◆ operator*() [2/15]

template<typename _Tp , int m, int n>
static Vec< _Tp, m > cv::operator* ( const Matx< _Tp, m, n > & a,
const Vec< _Tp, n > & b )
inlinestatic

◆ operator*() [3/15]

template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > cv::operator* ( const Matx< _Tp, m, n > & a,
double alpha )
inlinestatic

◆ operator*() [4/15]

template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > cv::operator* ( const Matx< _Tp, m, n > & a,
float alpha )
inlinestatic

◆ operator*() [5/15]

template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > cv::operator* ( const Matx< _Tp, m, n > & a,
int alpha )
inlinestatic

◆ operator*() [6/15]

template<typename _Tp >
Vec< _Tp, 4 > cv::operator* ( const Vec< _Tp, 4 > & v1,
const Vec< _Tp, 4 > & v2 )
inline

◆ operator*() [7/15]

template<typename _Tp , int cn>
static Vec< _Tp, cn > cv::operator* ( const Vec< _Tp, cn > & a,
double alpha )
inlinestatic

◆ operator*() [8/15]

template<typename _Tp , int cn>
static Vec< _Tp, cn > cv::operator* ( const Vec< _Tp, cn > & a,
float alpha )
inlinestatic

◆ operator*() [9/15]

template<typename _Tp , int cn>
static Vec< _Tp, cn > cv::operator* ( const Vec< _Tp, cn > & a,
int alpha )
inlinestatic

◆ operator*() [10/15]

template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > cv::operator* ( double alpha,
const Matx< _Tp, m, n > & a )
inlinestatic

◆ operator*() [11/15]

template<typename _Tp , int cn>
static Vec< _Tp, cn > cv::operator* ( double alpha,
const Vec< _Tp, cn > & a )
inlinestatic

◆ operator*() [12/15]

template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > cv::operator* ( float alpha,
const Matx< _Tp, m, n > & a )
inlinestatic

◆ operator*() [13/15]

template<typename _Tp , int cn>
static Vec< _Tp, cn > cv::operator* ( float alpha,
const Vec< _Tp, cn > & a )
inlinestatic

◆ operator*() [14/15]

template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > cv::operator* ( int alpha,
const Matx< _Tp, m, n > & a )
inlinestatic

◆ operator*() [15/15]

template<typename _Tp , int cn>
static Vec< _Tp, cn > cv::operator* ( int alpha,
const Vec< _Tp, cn > & a )
inlinestatic

◆ operator*=() [1/7]

template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > & cv::operator*= ( Matx< _Tp, m, n > & a,
double alpha )
inlinestatic

◆ operator*=() [2/7]

template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > & cv::operator*= ( Matx< _Tp, m, n > & a,
float alpha )
inlinestatic

◆ operator*=() [3/7]

template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > & cv::operator*= ( Matx< _Tp, m, n > & a,
int alpha )
inlinestatic

◆ operator*=() [4/7]

template<typename _Tp >
Vec< _Tp, 4 > & cv::operator*= ( Vec< _Tp, 4 > & v1,
const Vec< _Tp, 4 > & v2 )
inline

◆ operator*=() [5/7]

template<typename _Tp , int cn>
static Vec< _Tp, cn > & cv::operator*= ( Vec< _Tp, cn > & a,
double alpha )
inlinestatic

◆ operator*=() [6/7]

template<typename _Tp , int cn>
static Vec< _Tp, cn > & cv::operator*= ( Vec< _Tp, cn > & a,
float alpha )
inlinestatic

◆ operator*=() [7/7]

template<typename _Tp , int cn>
static Vec< _Tp, cn > & cv::operator*= ( Vec< _Tp, cn > & a,
int alpha )
inlinestatic

◆ operator+() [1/2]

template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > cv::operator+ ( const Matx< _Tp, m, n > & a,
const Matx< _Tp, m, n > & b )
inlinestatic

◆ operator+() [2/2]

template<typename _Tp , int cn>
static Vec< _Tp, cn > cv::operator+ ( const Vec< _Tp, cn > & a,
const Vec< _Tp, cn > & b )
inlinestatic

◆ operator+=() [1/2]

模板<typename _Tp1 , typename _Tp2 , int m, int n>
static Matx< _Tp1, m, n > & cv::operator+= ( Matx< _Tp1, m, n > & a,
const Matx< _Tp2, m, n > & b )
inlinestatic

◆ operator+=() [2/2]

模板<typename _Tp1 , typename _Tp2 , int cn>
static Vec< _Tp1, cn > & cv::operator+= ( Vec< _Tp1, cn > & a,
const Vec< _Tp2, cn > & b )
inlinestatic

◆ operator-() [1/4]

template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > cv::operator- ( const Matx< _Tp, m, n > & a)
inlinestatic

◆ operator-() [2/4]

template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > cv::operator- ( const Matx< _Tp, m, n > & a,
const Matx< _Tp, m, n > & b )
inlinestatic

◆ operator-() [3/4]

template<typename _Tp , int cn>
static Vec< _Tp, cn > cv::operator- ( const Vec< _Tp, cn > & a)
inlinestatic

◆ operator-() [4/4]

template<typename _Tp , int cn>
static Vec< _Tp, cn > cv::operator- ( const Vec< _Tp, cn > & a,
const Vec< _Tp, cn > & b )
inlinestatic

◆ operator-=() [1/2]

模板<typename _Tp1 , typename _Tp2 , int m, int n>
static Matx< _Tp1, m, n > & cv::operator-= ( Matx< _Tp1, m, n > & a,
const Matx< _Tp2, m, n > & b )
inlinestatic

◆ operator-=() [2/2]

模板<typename _Tp1 , typename _Tp2 , int cn>
static Vec< _Tp1, cn > & cv::operator-= ( Vec< _Tp1, cn > & a,
const Vec< _Tp2, cn > & b )
inlinestatic

◆ operator/() [1/5]

template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > cv::operator/ ( const Matx< _Tp, m, n > & a,
double alpha )
inlinestatic

◆ operator/() [2/5]

template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > cv::operator/ ( const Matx< _Tp, m, n > & a,
float alpha )
inlinestatic

◆ operator/() [3/5]

template<typename _Tp , int cn>
static Vec< _Tp, cn > cv::operator/ ( const Vec< _Tp, cn > & a,
double alpha )
inlinestatic

◆ operator/() [4/5]

template<typename _Tp , int cn>
static Vec< _Tp, cn > cv::operator/ ( const Vec< _Tp, cn > & a,
float alpha )
inlinestatic

◆ operator/() [5/5]

template<typename _Tp , int cn>
static Vec< _Tp, cn > cv::operator/ ( const Vec< _Tp, cn > & a,
int alpha )
inlinestatic

◆ operator/=() [1/5]

template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > & cv::operator/= ( Matx< _Tp, m, n > & a,
double alpha )
inlinestatic

◆ operator/=() [2/5]

template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > & cv::operator/= ( Matx< _Tp, m, n > & a,
float alpha )
inlinestatic

◆ operator/=() [3/5]

template<typename _Tp , int cn>
static Vec< _Tp, cn > & cv::operator/= ( Vec< _Tp, cn > & a,
double alpha )
inlinestatic

◆ operator/=() [4/5]

template<typename _Tp , int cn>
static Vec< _Tp, cn > & cv::operator/= ( Vec< _Tp, cn > & a,
float alpha )
inlinestatic

◆ operator/=() [5/5]

template<typename _Tp , int cn>
static Vec< _Tp, cn > & cv::operator/= ( Vec< _Tp, cn > & a,
int alpha )
inlinestatic

◆ operator<<() [1/2]

static String & cv::operator<< ( String & out,
const Mat & mtx )
inlinestatic

#include <opencv2/core.hpp>

◆ operator<<() [2/2]

static String & cv::operator<< ( String & out,
Ptr< Formatted > fmtd )
inlinestatic

#include <opencv2/core.hpp>

◆ operator==()

template<typename _Tp , int m, int n>
static bool cv::operator== ( const Matx< _Tp, m, n > & a,
const Matx< _Tp, m, n > & b )
inlinestatic

◆ rawIn()

template<typename _Tp >
static _InputArray cv::rawIn ( _Tp & v)
inlinestatic

#include <opencv2/core/mat.hpp>

用于包装自定义类型的辅助函数。

参见
InputArray

◆ rawInOut()

template<typename _Tp >
static _InputOutputArray cv::rawInOut ( _Tp & v)
inlinestatic

#include <opencv2/core/mat.hpp>

用于包装自定义类型的辅助函数。

参见
InputArray

◆ rawOut()

template<typename _Tp >
static _OutputArray cv::rawOut ( _Tp & v)
inlinestatic

#include <opencv2/core/mat.hpp>

用于包装自定义类型的辅助函数。

参见
InputArray

◆ toLowerCase()

static std::string cv::toLowerCase ( const std::string & str)
inlinestatic

◆ toUpperCase()

static std::string cv::toUpperCase ( const std::string & str)
inlinestatic

◆ trace()

template<typename _Tp , int m, int n>
static double cv::trace ( const Matx< _Tp, m, n > & a)
inlinestatic
Python
cv.trace(mtx) -> retval