Loading...
Searching...
No Matches
cv::GIOProtoArgs< Tag > Struct Template Reference
#include <opencv2/gapi/gproto.hpp>
Public Member Functions | |
GIOProtoArgs ()=default | |
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. | |
Constructor & Destructor Documentation
◆ GIOProtoArgs() [1/3]
template<class Tag >
|
default |
◆ GIOProtoArgs() [2/3]
template<class Tag >
|
inlineexplicit |
◆ GIOProtoArgs() [3/3]
template<class Tag >
|
inlineexplicit |
Friends And Related Function Documentation
◆ operator+=
template<class Tag >
template<typename Tg >
|
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);
GMat resize(const GMat &src, const Size &dsize, double fx=0, double fy=0, int interpolation=INTER_LINEAR)
Resizes an image.
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:
- opencv2/gapi/gproto.hpp