MCPcopy Create free account
hub / github.com/Rohithkvsp/Form-N-Fun / get

Method get

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

Source from the content-addressed store, hash-verified

1002
1003 // javadoc:Mat::get(row,col,data)
1004 public int get(int row, int col, byte[] data) {
1005 int t = type();
1006 if (data == null || data.length % CvType.channels(t) != 0)
1007 throw new java.lang.UnsupportedOperationException(
1008 "Provided data element number (" +
1009 (data == null ? 0 : data.length) +
1010 ") should be multiple of the Mat channels count (" +
1011 CvType.channels(t) + ")");
1012 if (CvType.depth(t) == CvType.CV_8U || CvType.depth(t) == CvType.CV_8S) {
1013 return nGetB(nativeObj, row, col, data.length, data);
1014 }
1015 throw new java.lang.UnsupportedOperationException("Mat data type is not compatible: " + t);
1016 }
1017
1018 // javadoc:Mat::get(row,col,data)
1019 public int get(int row, int col, short[] data) {

Callers 15

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

Calls 9

typeMethod · 0.95
channelsMethod · 0.95
depthMethod · 0.95
nGetBMethod · 0.95
nGetSMethod · 0.95
nGetIMethod · 0.95
nGetFMethod · 0.95
nGetDMethod · 0.95
nGetMethod · 0.95

Tested by

no test coverage detected