MCPcopy Create free account
hub / github.com/danopdev/Perspective / get

Method get

opencv/src/main/java/org/opencv/core/Mat.java:966–978  ·  view source on GitHub ↗
(int row, int col, byte[] data)

Source from the content-addressed store, hash-verified

964
965 // javadoc:Mat::get(row,col,data)
966 public int get(int row, int col, byte[] data) {
967 int t = type();
968 if (data == null || data.length % CvType.channels(t) != 0)
969 throw new UnsupportedOperationException(
970 "Provided data element number (" +
971 (data == null ? 0 : data.length) +
972 ") should be multiple of the Mat channels count (" +
973 CvType.channels(t) + ")");
974 if (CvType.depth(t) == CvType.CV_8U || CvType.depth(t) == CvType.CV_8S) {
975 return nGetB(nativeObj, row, col, data.length, data);
976 }
977 throw new UnsupportedOperationException("Mat data type is not compatible: " + t);
978 }
979
980 // javadoc:Mat::get(idx,data)
981 public int get(int[] idx, byte[] data) {

Callers 15

vector_Point_to_MatMethod · 0.80
vector_Point3_to_MatMethod · 0.80
Mat_to_vector_PointMethod · 0.80
Mat_to_vector_Point3Method · 0.80
vector_Mat_to_MatMethod · 0.80
Mat_to_vector_MatMethod · 0.80
vector_float_to_MatMethod · 0.80
Mat_to_vector_floatMethod · 0.80
vector_uchar_to_MatMethod · 0.80
Mat_to_vector_ucharMethod · 0.80
vector_char_to_MatMethod · 0.80
vector_int_to_MatMethod · 0.80

Calls 15

typeMethod · 0.95
channelsMethod · 0.95
depthMethod · 0.95
nGetBMethod · 0.95
dimsMethod · 0.95
nGetBIdxMethod · 0.95
nGetSMethod · 0.95
nGetSIdxMethod · 0.95
nGetIMethod · 0.95
nGetIIdxMethod · 0.95
nGetFMethod · 0.95
nGetFIdxMethod · 0.95

Tested by

no test coverage detected