/// <summary>
///
/// </summary>
public override void AssignResult()
{
if (!IsReady())
{
throw new NotSupportedException();
}
using var vectorOfMat = new VectorOfMat();
NativeMethods.HandleException(
NativeMethods.core_OutputArray_getVectorOfMat(ptr, vectorOfMat.CvPtr));
GC.KeepAlive(this);
list.Clear();
list.AddRange(vectorOfMat.ToArray());
}