OpenCV  4.5.0
Open Source Computer Vision
Public Member Functions | Public Attributes | List of all members

#include <opencv2/gapi/gmat.hpp>

Public Member Functions

 GMatDesc (int d, int c, cv::Size s, bool p=false)
 
 GMatDesc (int d, const std::vector< int > &dd)
 
 GMatDesc (int d, std::vector< int > &&dd)
 
 GMatDesc ()
 
GMatDesc asInterleaved () const
 
GMatDesc asPlanar () const
 
GMatDesc asPlanar (int planes) const
 
bool canDescribe (const cv::Mat &mat) const
 
bool canDescribe (const cv::RMat &mat) const
 
bool isND () const
 
bool operator!= (const GMatDesc &rhs) const
 
bool operator== (const GMatDesc &rhs) const
 
GMatDesc withDepth (int ddepth) const
 
GMatDesc withSize (cv::Size sz) const
 
GMatDesc withSizeDelta (cv::Size delta) const
 
GMatDesc withSizeDelta (int dx, int dy) const
 
GMatDesc withType (int ddepth, int dchan) const
 

Public Attributes

int chan
 
int depth
 
std::vector< int > dims
 
bool planar
 
cv::Size size
 

Constructor & Destructor Documentation

cv::GMatDesc::GMatDesc ( int  d,
int  c,
cv::Size  s,
bool  p = false 
)
inline
cv::GMatDesc::GMatDesc ( int  d,
const std::vector< int > &  dd 
)
inline
cv::GMatDesc::GMatDesc ( int  d,
std::vector< int > &&  dd 
)
inline
cv::GMatDesc::GMatDesc ( )
inline

Member Function Documentation

GMatDesc cv::GMatDesc::asInterleaved ( ) const
inline
GMatDesc cv::GMatDesc::asPlanar ( ) const
inline
GMatDesc cv::GMatDesc::asPlanar ( int  planes) const
inline
bool cv::GMatDesc::canDescribe ( const cv::Mat mat) const
bool cv::GMatDesc::canDescribe ( const cv::RMat mat) const
bool cv::GMatDesc::isND ( ) const
inline
bool cv::GMatDesc::operator!= ( const GMatDesc rhs) const
inline
bool cv::GMatDesc::operator== ( const GMatDesc rhs) const
inline
GMatDesc cv::GMatDesc::withDepth ( int  ddepth) const
inline
GMatDesc cv::GMatDesc::withSize ( cv::Size  sz) const
inline
GMatDesc cv::GMatDesc::withSizeDelta ( cv::Size  delta) const
inline
GMatDesc cv::GMatDesc::withSizeDelta ( int  dx,
int  dy 
) const
inline
GMatDesc cv::GMatDesc::withType ( int  ddepth,
int  dchan 
) const
inline

Member Data Documentation

int cv::GMatDesc::chan
int cv::GMatDesc::depth
std::vector<int> cv::GMatDesc::dims
bool cv::GMatDesc::planar
cv::Size cv::GMatDesc::size

The documentation for this struct was generated from the following file: