Пример #1
0
 /// <summary>
 /// Convert this matrix to image memory layout (if it is not already).
 /// Retains coordinates of original image.
 /// </summary>
 public static Matrix <T> ToImageWindow <T>(this Matrix <T> matrix)
 {
     if (matrix.HasImageWindowLayout())
     {
         return(matrix);
     }
     return(matrix.CopyWindow());
 }