OpenCV 4.11.0
开源计算机视觉
加载中…
搜索中…
无匹配项
cv::RMat::View 类参考

#include <opencv2/gapi/rmat.hpp>

cv::RMat::View 的协作图

公共类型

使用 DestroyCallback = std::function<void()>
 
使用 stepsT = std::vector<size_t>
 

公共成员函数

 View ()=default
 
 View (const GMatDesc &desc, uchar *data, const stepsT &steps={}, DestroyCallback &&cb=nullptr)
 
 View (const GMatDesc &desc, uchar *data, size_t step, DestroyCallback &&cb=nullptr)
 
 View (const View &)=delete
 
 View (View &&)=default
 
 ~View ()
 
int chan () const
 
int cols () const
 
int depth () const
 
const std::vector< int > & dims () const
 
size_t elemSize () const
 
Viewoperator= (const View &)=delete
 
Viewoperator= (View &&v)
 
template<typename T = uchar>
T * ptr (int y, int x)
 
template<typename T = uchar>
const T * ptr (int y, int x) const
 
template<typename T = uchar>
T * ptr (int y=0)
 
template<typename T = uchar>
const T * ptr (int y=0) const
 
int rows () const
 
cv::Size size () const
 
size_t step (size_t i=0) const
 
const stepsTsteps () const
 
int type () const
 

成员类型定义文档

◆ DestroyCallback

使用 cv::RMat::View::DestroyCallback = std::function<void()>

◆ stepsT

使用 cv::RMat::View::stepsT = std::vector<size_t>

构造函数和析构函数文档

◆ View() [1/5]

cv::RMat::View::View ( )
默认

◆ View() [2/5]

cv::RMat::View::View ( const GMatDesc & desc,
uchar * data,
const stepsT & steps = {},
DestroyCallback && cb = nullptr )

◆ View() [3/5]

cv::RMat::View::View ( const GMatDesc & desc,
uchar * data,
size_t step,
DestroyCallback && cb = nullptr )

◆ View() [4/5]

cv::RMat::View::View ( const View & )
删除

◆ View() [5/5]

cv::RMat::View::View ( View && )
默认

◆ ~View()

cv::RMat::View::~View ( )
内联

成员函数文档

◆ chan()

int cv::RMat::View::chan ( ) const
内联

◆ cols()

int cv::RMat::View::cols ( ) const
内联

◆ depth()

int cv::RMat::View::depth ( ) const
内联

◆ dims()

const std::vector< int > & cv::RMat::View::dims ( ) const
内联

◆ elemSize()

size_t cv::RMat::View::elemSize ( ) const
内联

◆ operator=() [1/2]

View & cv::RMat::View::operator= ( const View & )
删除

◆ operator=() [2/2]

View & cv::RMat::View::operator= ( View && v)

◆ ptr() [1/4]

template<typename T = uchar>
T * cv::RMat::View::ptr ( int y,
int x )
内联

◆ ptr() [2/4]

template<typename T = uchar>
const T * cv::RMat::View::ptr ( int y,
int x ) const
内联

◆ ptr() [3/4]

template<typename T = uchar>
T * cv::RMat::View::ptr ( int y = 0)
内联

◆ ptr() [4/4]

template<typename T = uchar>
const T * cv::RMat::View::ptr ( int y = 0) const
内联

◆ rows()

int cv::RMat::View::rows ( ) const
内联

◆ size()

cv::Size cv::RMat::View::size ( ) const
内联

◆ step()

size_t cv::RMat::View::step ( size_t i = 0) const
内联

◆ steps()

const stepsT & cv::RMat::View::steps ( ) const
内联

◆ type()

int cv::RMat::View::type ( ) const

此类的文档是从以下文件生成的: