Mat.empty constructor

Mat.empty()

Implementation

factory Mat.empty() {
  final p = calloc<cvg.Mat>();
  cvRun(() => ccore.cv_Mat_create(p));
  final mat = Mat._(p); // Mat created from Mat.empty tends to be changed, we can't know the size.
  return mat;
}