MCPcopy 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

fromArrayMethod · 0.95

Calls 2

makeTypeMethod · 0.95
createMethod · 0.45

Tested by

no test coverage detected