コード例 #1
0
 //========================================================
 //for double image
 /// <summary>
 /// Get the height of the image 
 /// </summary>
 /// <param name="ImageMatrix">2D array that contains the image</param>
 /// <returns>Image Height</returns>
 public static int GetHeightDouble(MyColorDouble[,] ImageMatrix)
 {
     return ImageMatrix.GetLength(0);
 }
コード例 #2
0
 /// <summary>
 /// Get the width of the image 
 /// </summary>
 /// <param name="ImageMatrix">2D array that contains the image</param>
 /// <returns>Image Width</returns>
 public static int GetWidthDouble(MyColorDouble[,] ImageMatrix)
 {
     return ImageMatrix.GetLength(1);
 }