public Status Stitch(IEnumerable<Mat> images, OutputArray pano)
{
if (images == null)
throw new ArgumentNullException(nameof(images));
if (pano == null)
throw new ArgumentNullException(nameof(pano));
pano.ThrowIfNotReady();
IntPtr[] imagesPtrs = EnumerableEx.SelectPtrs(images);
Status status = (Status)NativeMethods.stitching_Stitcher_stitch1_MatArray(
ptr, imagesPtrs, imagesPtrs.Length, pano.CvPtr);
pano.Fix();
return status;
}