cv::_InputOutputArray Class ReferenceCore functionality » Basic structures
Примеры с cv2.imshow требуют сборки OpenCV с GUI. В ноутбуке с headless-версией используйте вывод изображений через Matplotlib.
cv::_InputOutputArray Class Reference
#include <opencv2/core/mat.hpp>
Collaboration diagram for cv::_InputOutputArray:
The documentation for this class was generated from the following file:
| template<typename _Tp , int m, int n> |
| template<typename _Tp , std::size_t _Nm> |
| template<std::size_t _Nm> |
| template<typename _Tp , int m, int n> |
| template<typename _Tp , std::size_t _Nm> |
| template<std::size_t _Nm> |
| template<typename _Tp , std::size_t _Nm> |
| template<typename _Tp , int m, int n> |
| template<typename _Tp , std::size_t _Nm> |
| template<std::size_t _Nm> |
| template<typename _Tp , int m, int n> |
| template<typename _Tp , std::size_t _Nm> |
| template<std::size_t _Nm> |
| void | assign (const std::vector< Mat > &v) const |
| template<typename _Tp , int m, int n> |
| template<typename _Tp , std::size_t _Nm> |
| template<std::size_t _Nm> |
| | _InputArray (const std::vector< std::vector< bool > > &)=delete |
| int | cols (int i=-1) const |
| int | depth (int i=-1) const |
| int | dims (int i=-1) const |
| size_t | offset (int i=-1) const |
| int | rows (int i=-1) const |
| size_t | step (int i=-1) const |
| size_t | total (int i=-1) const |
| int | type (int i=-1) const |
Additional Inherited Members |
Public Types inherited from cv::_OutputArray |
| enum | DepthMask {
DEPTH_MASK_8U = 1 << CV_8U
,
DEPTH_MASK_8S = 1 << CV_8S
,
DEPTH_MASK_16U = 1 << CV_16U
,
DEPTH_MASK_16S = 1 << CV_16S
,
DEPTH_MASK_32S = 1 << CV_32S
,
DEPTH_MASK_32F = 1 << CV_32F
,
DEPTH_MASK_64F = 1 << CV_64F
,
DEPTH_MASK_16F = 1 << CV_16F
,
DEPTH_MASK_ALL = (DEPTH_MASK_64F<<1)-1
,
DEPTH_MASK_ALL_BUT_8S = DEPTH_MASK_ALL & ~DEPTH_MASK_8S
,
DEPTH_MASK_ALL_16F = (DEPTH_MASK_16F<<1)-1
,
DEPTH_MASK_FLT = DEPTH_MASK_32F + DEPTH_MASK_64F
} |
| |
Public Types inherited from cv::_InputArray |
| enum | KindFlag {
KIND_SHIFT = 16
,
FIXED_TYPE = 0x8000 << KIND_SHIFT
,
FIXED_SIZE = 0x4000 << KIND_SHIFT
,
KIND_MASK = 31 << KIND_SHIFT
,
NONE = 0 << KIND_SHIFT
,
MAT = 1 << KIND_SHIFT
,
MATX = 2 << KIND_SHIFT
,
STD_VECTOR = 3 << KIND_SHIFT
,
= 4 << KIND_SHIFT
,
= 5 << KIND_SHIFT
,
= 6 << KIND_SHIFT
,
= 7 << KIND_SHIFT
,
= 8 << KIND_SHIFT
,
= 9 << KIND_SHIFT
,
=10 << KIND_SHIFT
,
=11 << KIND_SHIFT
,
=12 << KIND_SHIFT
,
= 13 << KIND_SHIFT
,
=14 << KIND_SHIFT
,
=15 << KIND_SHIFT
,
=16 << KIND_SHIFT
} |
| |
Protected Member Functions inherited from cv::_InputArray |
| void | init (int _flags, const void *_obj) |
| |
| void | init (int _flags, const void *_obj, Size _sz) |
| |
Protected Attributes inherited from cv::_InputArray |
| int | flags |
| |
| void * | obj |
| |
| Size | sz |
| |
Constructor & Destructor Documentation
| cv::_InputOutputArray::_InputOutputArray | ( | | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | int | _flags, |
| | void * | _obj ) |
| cv::_InputOutputArray::_InputOutputArray | ( | Mat & | m | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | std::vector< Mat > & | vec | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | cuda::GpuMat & | d_mat | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | ogl::Buffer & | buf | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | cuda::HostMem & | cuda_mem | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | std::vector< _Tp > & | vec | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | std::vector< bool > & | vec | ) | |
|
delete |
| cv::_InputOutputArray::_InputOutputArray | ( | std::vector< std::vector< _Tp > > & | vec | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | std::vector< Mat_< _Tp > > & | vec | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | Mat_< _Tp > & | m | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | _Tp * | vec, |
| | int | n ) |
template<typename
_Tp , int m, int n>
| cv::_InputOutputArray::_InputOutputArray | ( | Matx< _Tp, m, n > & | matx | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | UMat & | m | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | std::vector< UMat > & | vec | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | const Mat & | m | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | const std::vector< Mat > & | vec | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | const cuda::GpuMat & | d_mat | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | const std::vector< cuda::GpuMat > & | d_mat | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | const cuda::GpuMatND & | d_mat | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | const ogl::Buffer & | buf | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | const cuda::HostMem & | cuda_mem | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | const std::vector< _Tp > & | vec | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | const std::vector< std::vector< _Tp > > & | vec | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | const std::vector< Mat_< _Tp > > & | vec | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | const Mat_< _Tp > & | m | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | const _Tp * | vec, |
| | int | n ) |
template<typename
_Tp , int m, int n>
| cv::_InputOutputArray::_InputOutputArray | ( | const Matx< _Tp, m, n > & | matx | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | const UMat & | m | ) | |
| cv::_InputOutputArray::_InputOutputArray | ( | const std::vector< UMat > & | vec | ) | |
template<typename
_Tp , std::size_t _Nm>
| cv::_InputOutputArray::_InputOutputArray | ( | std::array< _Tp, _Nm > & | arr | ) | |
template<typename
_Tp , std::size_t _Nm>
| cv::_InputOutputArray::_InputOutputArray | ( | const std::array< _Tp, _Nm > & | arr | ) | |
template<std::size_t _Nm>
| cv::_InputOutputArray::_InputOutputArray | ( | std::array< Mat, _Nm > & | arr | ) | |
template<std::size_t _Nm>
| cv::_InputOutputArray::_InputOutputArray | ( | const std::array< Mat, _Nm > & | arr | ) | |
Member Function Documentation
rawInOut() [1/2]
template<typename
_Tp , std::size_t _Nm>
rawInOut() [2/2]