mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
Merge branch 4.x
This commit is contained in:
@@ -77,6 +77,18 @@ public:
|
||||
*/
|
||||
GAPI_WRAP GMat(); // Empty constructor
|
||||
|
||||
/**
|
||||
* @brief 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.
|
||||
*
|
||||
* @param m a cv::Mat buffer to associate with this GMat object.
|
||||
*/
|
||||
GAPI_WRAP explicit GMat(cv::Mat m); // Value-initialization constructor
|
||||
|
||||
/// @private
|
||||
GMat(const GNode &n, std::size_t out); // Operation result constructor
|
||||
/// @private
|
||||
|
||||
@@ -54,12 +54,11 @@ public:
|
||||
/**
|
||||
* @brief Constructs a value-initialized GScalar
|
||||
*
|
||||
* In contrast with GMat (which can be either an explicit graph input
|
||||
* or a result of some operation), GScalars may have their values
|
||||
* be associated at graph construction time. It is useful when
|
||||
* some operation has a GScalar input which doesn't change during
|
||||
* the program execution, and is set only once. In this case,
|
||||
* there is no need to declare such GScalar as a graph input.
|
||||
* GScalars may have their values be associated at graph
|
||||
* construction time. It is useful when some operation has a
|
||||
* GScalar input which doesn't change during the program
|
||||
* execution, and is set only once. In this case, there is no need
|
||||
* to declare such GScalar as a graph input.
|
||||
*
|
||||
* @note The value of GScalar may be overwritten by assigning some
|
||||
* other GScalar to the object using `operator=` -- on the
|
||||
|
||||
Reference in New Issue
Block a user