Class cv::GMatP#

Collaboration diagram for cv::GMatP:

Public Member Functions#

Public Member Functions inherited from cv::GMat

Return

Name

Description

GAPI_WRAP

GMat()

Constructs an empty GMat.

GAPI_WRAP

GMat(cv::Mat m)

Constructs a value-initialized GMat.

Member Function Documentation#

GMat()#

GAPI_WRAP cv::GMatP::GMat()

Constructs an empty GMat.

Normally, empty G-API data objects denote a starting point of the graph. When an empty GMat is assigned to a result of some operation, it obtains a functional link to this operation (and is not empty anymore).

GMat()#

GAPI_WRAP cv::GMatP::GMat(cv::Mat m)

Constructs a value-initialized GMat.

GMat may be associated with a buffer at graph construction time. It is useful when some operation has a Mat input which doesn’t change during the program execution, and is set only once. In this case, there’s no need to declare such GMat as graph input.

Parameters

  • m — a cv::Mat buffer to associate with this GMat object.

Source file#

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