|
|
@ -151,7 +151,7 @@ number of components (vectors/matrices) of the outer vector. |
|
|
|
|
|
|
|
|
|
|
|
In general, type support is limited to cv::Mat types. Other types are forbidden. |
|
|
|
In general, type support is limited to cv::Mat types. Other types are forbidden. |
|
|
|
But in some cases we need to support passing of custom non-general Mat types, like arrays of cv::KeyPoint, cv::DMatch, etc. |
|
|
|
But in some cases we need to support passing of custom non-general Mat types, like arrays of cv::KeyPoint, cv::DMatch, etc. |
|
|
|
This data is not intented to be interpreted as an image data, or processed somehow like regular cv::Mat. |
|
|
|
This data is not intended to be interpreted as an image data, or processed somehow like regular cv::Mat. |
|
|
|
To pass such custom type use rawIn() / rawOut() / rawInOut() wrappers. |
|
|
|
To pass such custom type use rawIn() / rawOut() / rawInOut() wrappers. |
|
|
|
Custom type is wrapped as Mat-compatible `CV_8UC<N>` values (N = sizeof(T), N <= CV_CN_MAX). |
|
|
|
Custom type is wrapped as Mat-compatible `CV_8UC<N>` values (N = sizeof(T), N <= CV_CN_MAX). |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -2416,7 +2416,7 @@ public: |
|
|
|
// (_type is CV_8UC1, CV_64FC3, CV_32SC(12) etc.)
|
|
|
|
// (_type is CV_8UC1, CV_64FC3, CV_32SC(12) etc.)
|
|
|
|
UMat(int rows, int cols, int type, UMatUsageFlags usageFlags = USAGE_DEFAULT); |
|
|
|
UMat(int rows, int cols, int type, UMatUsageFlags usageFlags = USAGE_DEFAULT); |
|
|
|
UMat(Size size, int type, UMatUsageFlags usageFlags = USAGE_DEFAULT); |
|
|
|
UMat(Size size, int type, UMatUsageFlags usageFlags = USAGE_DEFAULT); |
|
|
|
//! constucts 2D matrix and fills it with the specified value _s.
|
|
|
|
//! constructs 2D matrix and fills it with the specified value _s.
|
|
|
|
UMat(int rows, int cols, int type, const Scalar& s, UMatUsageFlags usageFlags = USAGE_DEFAULT); |
|
|
|
UMat(int rows, int cols, int type, const Scalar& s, UMatUsageFlags usageFlags = USAGE_DEFAULT); |
|
|
|
UMat(Size size, int type, const Scalar& s, UMatUsageFlags usageFlags = USAGE_DEFAULT); |
|
|
|
UMat(Size size, int type, const Scalar& s, UMatUsageFlags usageFlags = USAGE_DEFAULT); |
|
|
|
|
|
|
|
|
|
|
@ -2863,7 +2863,7 @@ public: |
|
|
|
|
|
|
|
|
|
|
|
`ref<_Tp>(i0,...[,hashval])` is equivalent to `*(_Tp*)ptr(i0,...,true[,hashval])`. |
|
|
|
`ref<_Tp>(i0,...[,hashval])` is equivalent to `*(_Tp*)ptr(i0,...,true[,hashval])`. |
|
|
|
The methods always return a valid reference. |
|
|
|
The methods always return a valid reference. |
|
|
|
If the element did not exist, it is created and initialiazed with 0. |
|
|
|
If the element did not exist, it is created and initialized with 0. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
//! returns reference to the specified element (1D case)
|
|
|
|
//! returns reference to the specified element (1D case)
|
|
|
|
template<typename _Tp> _Tp& ref(int i0, size_t* hashval=0); |
|
|
|
template<typename _Tp> _Tp& ref(int i0, size_t* hashval=0); |
|
|
|