matrix property

Matrix get matrix

Implementation

Matrix get matrix => Matrix.fromPointer(c.mnn_cv_image_process_get_matrix(ptr).cast());
set matrix (Matrix value)

Implementation

set matrix(Matrix value) {
  final code = c.mnn_cv_image_process_set_matrix(ptr, value.ptr.cast());
  if (code != c.ErrorCode.MNNC_NO_ERROR) {
    throw MNNException('set matrix failed');
  }
}