public static double[,] ToDoubleMatrix(this Bitmap image, int channel) { return ToDoubleMatrix(image, channel, -1, 1); }