reshapeTo method

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

Implementation

Mat reshapeTo(int cn, List<int> newshape) {
  final p = calloc<cvg.Mat>();
  cvRun(() => cffi.Mat_ReshapeByVec(ref, cn, newshape.i32.ref, p));
  return Mat._(p);
}