1 | initial version |
byte[] data = new byte[ (int) (mGray.total()) ];
mGray.get(0, 0, data);
2 | No.2 Revision |
byte[] data = new byte[ (int) (mGray.total()) ];
mGray.get(0, 0, data);
Note: this works only if mGray
is of CV_8UC1
type.