OpenCV  4.4.0
Open Source Computer Vision
Public Member Functions | Public Attributes | Friends | List of all members
cv::GIOProtoArgs< Tag > Struct Template Reference

#include <opencv2/gapi/gproto.hpp>

Public Member Functions

 GIOProtoArgs (const GProtoArgs &args)
 
 GIOProtoArgs (GProtoArgs &&args)
 

Public Attributes

GProtoArgs m_args
 

Friends

template<typename Tg >
GIOProtoArgs< Tg > & operator+= (GIOProtoArgs< Tg > &lhs, const GIOProtoArgs< Tg > &rhs)
 This operator allows to complement the proto vectors at runtime. More...
 

Constructor & Destructor Documentation

◆ GIOProtoArgs() [1/2]

template<class Tag>
cv::GIOProtoArgs< Tag >::GIOProtoArgs ( const GProtoArgs args)
inlineexplicit

◆ GIOProtoArgs() [2/2]

template<class Tag>
cv::GIOProtoArgs< Tag >::GIOProtoArgs ( GProtoArgs &&  args)
inlineexplicit

Friends And Related Function Documentation

◆ operator+=

template<class Tag>
template<typename Tg >
GIOProtoArgs<Tg>& operator+= ( cv::GIOProtoArgs< Tg > &  lhs,
const GIOProtoArgs< Tg > &  rhs 
)
friend

This operator allows to complement the proto vectors at runtime.

It's an ordinary overload of addition assignment operator.

Example of usage:

auto ins = cv::GIn();
cv::GMat in1;
if (need_first_conversion)
ins += cv::GIn(in1);
cv::GMat in2;
if (need_second_conversion)
ins += cv::GIn(in2);
auto outs = cv::GOut();
cv::GMat out1 = cv::gapi::resize(in1, szOut);
if (need_first_conversion)
outs += cv::GOut(out1);
cv::GMat out2 = cv::gapi::resize(in2, szOut);
if (need_second_conversion)
outs += cv::GOut(out2);

Member Data Documentation

◆ m_args

template<class Tag>
GProtoArgs cv::GIOProtoArgs< Tag >::m_args

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