reshapeTo method

Mat reshapeTo(
  1. int cn,
  2. List<int> newshape
)

Implementation

Mat reshapeTo(int cn, List<int> newshape) {
  final dst = Mat.empty();
  cvRun(() => ccore.cv_Mat_reshape_1(ref, cn, newshape.i32.ref, dst.ptr, ffi.nullptr));
  return dst;
}