reshapeTo method

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

Implementation

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