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/MatOfByte.java:43–46 ·
view source on GitHub ↗
(int elemNumber)
Source
from the content-addressed store, hash-verified
41
}
42
43
public
void
alloc(
int
elemNumber) {
44
if
(elemNumber>0)
45
super.create(elemNumber, 1, CvType.makeType(_depth, _channels));
46
}
47
48
public
void
fromArray(byte...a) {
49
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