8 public static partial class LinearTransformationOperations
23 int SrcRowSize = M.RowSize;
24 T[] Dest = Result.
Data;
28 for (y = 0; y < w; y++)
30 SrcIndex = M.StartIndex(w - y - 1, 0);
31 for (x = 0; x < h; x++)
33 Dest[DestIndex++] = Src[SrcIndex];
34 SrcIndex += SrcRowSize;
49 return M2.Rotate270();
51 return M3.Rotate270();
53 return M4.Rotate270();
55 return M5.Rotate270();
57 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.