8 public static partial class LinearTransformationOperations
23 T[] Dest = Result.
Data;
27 for (y = 0; y < h; y++)
29 SrcIndex = M.StartIndex(w - 1, h - y - 1);
30 for (x = 0; x < w; x++)
31 Dest[DestIndex++] = Src[SrcIndex--];
45 return M2.Rotate180();
47 return M3.Rotate180();
49 return M4.Rotate180();
51 return M5.Rotate180();
53 throw new ArgumentException(
"Unsupported type: " + M.GetType().FullName, nameof(M));
Implements a Matrix, basic component for computations in Image Processing and Computer Vision.
T[] Data
Underlying data on which the matrix is defined.