region method

Mat region(
  1. Rect rect
)

Implementation

Mat region(Rect rect) {
  cvAssert(rect.right <= width && rect.bottom <= height);
  final dst = Mat.empty();
  cvRun(() => ccore.cv_Mat_region(ref, rect.ref, dst.ptr, ffi.nullptr));
  return dst;
}