Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danopdev/Perspective
/ alloc
Method
alloc
opencv/src/main/java/org/opencv/core/MatOfInt.java:39–42 ·
view source on GitHub ↗
(int elemNumber)
Source
from the content-addressed store, hash-verified
37
}
38
39
public
void
alloc(
int
elemNumber) {
40
if
(elemNumber>0)
41
super.create(elemNumber, 1, CvType.makeType(_depth, _channels));
42
}
43
44
public
void
fromArray(
int
...a) {
45
if
(a==null || a.length==0)
Callers
1
fromArray
Method · 0.95
Calls
2
makeType
Method · 0.95
create
Method · 0.45
Tested by
no test coverage detected