OpenCV  4.0.0-beta
Open Source Computer Vision
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
cv::GComputation Class Reference

#include "gcomputation.hpp"

Public Types

typedef std::function< GComputation()> Generator
 

Public Member Functions

 GComputation (const Generator &gen)
 
 GComputation (GProtoInputArgs &&ins, GProtoOutputArgs &&outs)
 
 GComputation (GMat in, GMat out)
 
 GComputation (GMat in, GScalar out)
 
 GComputation (GMat in1, GMat in2, GMat out)
 
 GComputation (GMat in1, GMat in2, GScalar out)
 
 GComputation (const std::vector< GMat > &ins, const std::vector< GMat > &outs)
 
void apply (GRunArgs &&ins, GRunArgsP &&outs, GCompileArgs &&args={})
 
void apply (const std::vector< cv::gapi::own::Mat > &ins, const std::vector< cv::gapi::own::Mat > &outs, GCompileArgs &&args={})
 
void apply (cv::Mat in, cv::Mat &out, GCompileArgs &&args={})
 
void apply (cv::Mat in, cv::Scalar &out, GCompileArgs &&args={})
 
void apply (cv::Mat in1, cv::Mat in2, cv::Mat &out, GCompileArgs &&args={})
 
void apply (cv::Mat in1, cv::Mat in2, cv::Scalar &out, GCompileArgs &&args={})
 
void apply (const std::vector< cv::Mat > &ins, const std::vector< cv::Mat > &outs, GCompileArgs &&args={})
 
GCompiled compile (GMetaArgs &&in_metas, GCompileArgs &&args={})
 
template<typename... Ts>
auto compile (const Ts &... metas) -> typename std::enable_if< detail::are_meta_descrs< Ts... >::value, GCompiled >::type
 
template<typename... Ts>
auto compile (const Ts &... meta_and_compile_args) -> typename std::enable_if< detail::are_meta_descrs_but_last< Ts... >::value &&std::is_same< GCompileArgs, detail::last_type_t< Ts... > >::value, GCompiled >::type
 
Priv & priv ()
 
const Priv & priv () const
 

Protected Member Functions

template<typename... Ts, int... IIs>
GCompiled compile (const std::tuple< Ts... > &meta_and_compile_args, detail::Seq< IIs... >)
 

Protected Attributes

std::shared_ptr< Priv > m_priv
 

Member Typedef Documentation

§ Generator

typedef std::function<GComputation()> cv::GComputation::Generator

Constructor & Destructor Documentation

§ GComputation() [1/7]

cv::GComputation::GComputation ( const Generator gen)

§ GComputation() [2/7]

cv::GComputation::GComputation ( GProtoInputArgs &&  ins,
GProtoOutputArgs &&  outs 
)

§ GComputation() [3/7]

cv::GComputation::GComputation ( GMat  in,
GMat  out 
)

§ GComputation() [4/7]

cv::GComputation::GComputation ( GMat  in,
GScalar  out 
)

§ GComputation() [5/7]

cv::GComputation::GComputation ( GMat  in1,
GMat  in2,
GMat  out 
)

§ GComputation() [6/7]

cv::GComputation::GComputation ( GMat  in1,
GMat  in2,
GScalar  out 
)

§ GComputation() [7/7]

cv::GComputation::GComputation ( const std::vector< GMat > &  ins,
const std::vector< GMat > &  outs 
)

Member Function Documentation

§ apply() [1/7]

void cv::GComputation::apply ( GRunArgs &&  ins,
GRunArgsP &&  outs,
GCompileArgs &&  args = {} 
)

§ apply() [2/7]

void cv::GComputation::apply ( const std::vector< cv::gapi::own::Mat > &  ins,
const std::vector< cv::gapi::own::Mat > &  outs,
GCompileArgs &&  args = {} 
)

§ apply() [3/7]

void cv::GComputation::apply ( cv::Mat  in,
cv::Mat out,
GCompileArgs &&  args = {} 
)

§ apply() [4/7]

void cv::GComputation::apply ( cv::Mat  in,
cv::Scalar out,
GCompileArgs &&  args = {} 
)

§ apply() [5/7]

void cv::GComputation::apply ( cv::Mat  in1,
cv::Mat  in2,
cv::Mat out,
GCompileArgs &&  args = {} 
)

§ apply() [6/7]

void cv::GComputation::apply ( cv::Mat  in1,
cv::Mat  in2,
cv::Scalar out,
GCompileArgs &&  args = {} 
)

§ apply() [7/7]

void cv::GComputation::apply ( const std::vector< cv::Mat > &  ins,
const std::vector< cv::Mat > &  outs,
GCompileArgs &&  args = {} 
)

§ compile() [1/4]

GCompiled cv::GComputation::compile ( GMetaArgs &&  in_metas,
GCompileArgs &&  args = {} 
)

§ compile() [2/4]

template<typename... Ts>
auto cv::GComputation::compile ( const Ts &...  metas) -> typename std::enable_if<detail::are_meta_descrs<Ts...>::value, GCompiled>::type
inline

§ compile() [3/4]

template<typename... Ts>
auto cv::GComputation::compile ( const Ts &...  meta_and_compile_args) -> typename std::enable_if<detail::are_meta_descrs_but_last<Ts...>::value && std::is_same<GCompileArgs, detail::last_type_t<Ts...> >::value, GCompiled>::type
inline

§ compile() [4/4]

template<typename... Ts, int... IIs>
GCompiled cv::GComputation::compile ( const std::tuple< Ts... > &  meta_and_compile_args,
detail::Seq< IIs... >   
)
inlineprotected

§ priv() [1/2]

Priv& cv::GComputation::priv ( )

§ priv() [2/2]

const Priv& cv::GComputation::priv ( ) const

Member Data Documentation

§ m_priv

std::shared_ptr<Priv> cv::GComputation::m_priv
protected

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