OpenCV on Android (java based)
opencv android samples on github
Mat --- class used to represent an image
// Matrix of doubles (64-bit floats) with 480 rows and 640 column
// Matrix of 8-bit unsigned integers with 480 rows and 640 columns. Mat rgbImage(480, 640, CV_8UC3); |
Simple Mat operations
// matrix_1 allocates a new block of memory. // matrix_2 and matrix_2 share the same data.
// matrix_1 and matrix_2 are both affected.
// row_10 also shares the same data.
// matrix_3 creates a copy of the data. |