/// <summary> /// /// </summary> /// <param name="mat"></param> /// <returns></returns> protected TInherit Wrap(Mat mat) { TInherit ret = new TInherit(); mat.AssignTo(ret); return(ret); }
/// <summary> /// /// </summary> /// <param name="mat"></param> /// <returns></returns> protected Mat <TElem> Wrap(Mat mat) { var ret = new Mat <TElem>(); mat.AssignTo(ret); return(ret); }