Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
02f4d6ca
Commit
02f4d6ca
authored
Oct 28, 2019
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15777 from dbudniko:dbudniko/add_own_empty
parents
055ffc04
8dfba518
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
mat.hpp
modules/gapi/include/opencv2/gapi/own/mat.hpp
+4
-1
No files found.
modules/gapi/include/opencv2/gapi/own/mat.hpp
View file @
02f4d6ca
...
@@ -284,7 +284,10 @@ namespace cv { namespace gapi { namespace own {
...
@@ -284,7 +284,10 @@ namespace cv { namespace gapi { namespace own {
The method returns true if Mat::total() is 0 or if Mat::data is NULL. Because of pop_back() and
The method returns true if Mat::total() is 0 or if Mat::data is NULL. Because of pop_back() and
resize() methods `M.total() == 0` does not imply that `M.data == NULL`.
resize() methods `M.total() == 0` does not imply that `M.data == NULL`.
*/
*/
bool
empty
()
const
;
bool
empty
()
const
{
return
data
==
0
||
total
()
==
0
||
dims
.
empty
();
}
/** @brief Returns the total number of array elements.
/** @brief Returns the total number of array elements.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment