OpenCV  4.10.0-dev
Open Source Computer Vision
Loading...
Searching...
No Matches
matx.hpp File Reference
#include "opencv2/core/cvdef.h"
#include "opencv2/core/base.hpp"
#include "opencv2/core/traits.hpp"
#include "opencv2/core/saturate.hpp"
#include <initializer_list>
#include "opencv2/core/matx.inl.hpp"
Include dependency graph for matx.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  cv::Matx< _Tp, m, n >
 Template class for small matrices whose type and size are known at compilation time. More...
 
class  cv::Vec< _Tp, cn >
 Template class for short numerical vectors, a partial case of Matx. More...
 

Namespaces

namespace  cv
 

Typedefs

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
 
Shorter aliases for the most popular specializations of Vec<T,n>
typedef Vec< uchar, 2 > cv::Vec2b
 
typedef Vec< double, 2 > cv::Vec2d
 
typedef Vec< float, 2 > cv::Vec2f
 
typedef Vec< int, 2 > cv::Vec2i
 
typedef Vec< short, 2 > cv::Vec2s
 
typedef Vec< ushort, 2 > cv::Vec2w
 
typedef Vec< uchar, 3 > cv::Vec3b
 
typedef Vec< double, 3 > cv::Vec3d
 
typedef Vec< float, 3 > cv::Vec3f
 
typedef Vec< int, 3 > cv::Vec3i
 
typedef Vec< short, 3 > cv::Vec3s
 
typedef Vec< ushort, 3 > cv::Vec3w
 
typedef Vec< uchar, 4 > cv::Vec4b
 
typedef Vec< double, 4 > cv::Vec4d
 
typedef Vec< float, 4 > cv::Vec4f
 
typedef Vec< int, 4 > cv::Vec4i
 
typedef Vec< short, 4 > cv::Vec4s
 
typedef Vec< ushort, 4 > cv::Vec4w
 
typedef Vec< double, 6 > cv::Vec6d
 
typedef Vec< float, 6 > cv::Vec6f
 
typedef Vec< int, 6 > cv::Vec6i
 
typedef Vec< int, 8 > cv::Vec8i
 

Functions

template<typename _Tp , int m>
static double cv::determinant (const Matx< _Tp, m, m > &a)
 
template<typename _Tp , int m, int n>
static double cv::norm (const Matx< _Tp, m, n > &M)
 
template<typename _Tp , int m, int n>
static double cv::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 bool cv::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)
 
template<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)
 
template<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)
 
template<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)
 
template<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)
 
template<typename _Tp , int m, int n>
static bool cv::operator== (const Matx< _Tp, m, n > &a, const Matx< _Tp, m, n > &b)
 
template<typename _Tp , int m, int n>
static double cv::trace (const Matx< _Tp, m, n > &a)