OpenCV  4.5.4-dev
Open Source Computer Vision
Public Member Functions | List of all members
cv::GScalar Class Reference

GScalar class represents cv::Scalar data in the graph. More...

#include <opencv2/gapi/gscalar.hpp>

Public Member Functions

GAPI_WRAP GScalar ()
 Constructs an empty GScalar. More...
 
 GScalar (const cv::Scalar &s)
 Constructs a value-initialized GScalar. More...
 
 GScalar (cv::Scalar &&s)
 Constructs a value-initialized GScalar. More...
 
 GScalar (double v0)
 Constructs a value-initialized GScalar. More...
 

Detailed Description

GScalar class represents cv::Scalar data in the graph.

GScalar may be associated with a cv::Scalar value, which becomes its constant value bound in graph compile time. cv::GScalar describes a functional relationship between operations consuming and producing GScalar objects.

GScalar is a virtual counterpart of cv::Scalar, which is usually used to represent the GScalar data in G-API during the execution.

See also
Scalar

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