static public void ShowImages(params Mat[] images)
{
if (images == null)
{
throw new ArgumentNullException(nameof(images));
}
if (images.Length == 0)
{
return;
}
var windows = new List<CvWindowEx>();
foreach (Mat img in images)
{
windows.Add(new CvWindowEx(img));
}
WaitKey();
foreach (CvWindowEx w in windows)
{
w.Close();
}
}
#endregion