public static IImage <bool> GenerateBinary(int width, int height) { ErrorChecker.CheckWidthHeight(width, height); return(new BinaryImage(width, height, new bool[width * height])); }
public static IImage <double> Generate(int width, int height) { ErrorChecker.CheckWidthHeight(width, height); return(new Image(width, height, new double[width * height])); }
public static IImage <BGRA> GenerateBgra(int width, int height) { ErrorChecker.CheckWidthHeight(width, height); return(new BgraImage(width, height, new BGRA[width * height])); }
public static IImage <HSV> GenerateHsv(int width, int height) { ErrorChecker.CheckWidthHeight(width, height); return(new HsvImage(width, height, new HSV[width * height])); }
public static IImage <CMYK> GenerateCmyk(int width, int height) { ErrorChecker.CheckWidthHeight(width, height); return(new CmykImage(width, height, new CMYK[width * height])); }
public static IImage <RGB> GenerateRgb(int width, int height) { ErrorChecker.CheckWidthHeight(width, height); return(new RGBImage(width, height)); }
/// <summary> /// Generates a blank complex image /// </summary> /// <param name="width">Image Width</param> /// <param name="height">Image Height</param> /// <returns>"Blank" Complex Image</returns> public static IImage <Complex> GenerateComplex(int width, int height) { ErrorChecker.CheckWidthHeight(width, height); return(new ComplexImage(width, height)); }