Exemplo n.º 1
0
        public static IImage <bool> GenerateBinary(int width, int height)
        {
            ErrorChecker.CheckWidthHeight(width, height);

            return(new BinaryImage(width, height, new bool[width * height]));
        }
Exemplo n.º 2
0
        public static IImage <double> Generate(int width, int height)
        {
            ErrorChecker.CheckWidthHeight(width, height);

            return(new Image(width, height, new double[width * height]));
        }
Exemplo n.º 3
0
        public static IImage <BGRA> GenerateBgra(int width, int height)
        {
            ErrorChecker.CheckWidthHeight(width, height);

            return(new BgraImage(width, height, new BGRA[width * height]));
        }
Exemplo n.º 4
0
        public static IImage <HSV> GenerateHsv(int width, int height)
        {
            ErrorChecker.CheckWidthHeight(width, height);

            return(new HsvImage(width, height, new HSV[width * height]));
        }
Exemplo n.º 5
0
        public static IImage <CMYK> GenerateCmyk(int width, int height)
        {
            ErrorChecker.CheckWidthHeight(width, height);

            return(new CmykImage(width, height, new CMYK[width * height]));
        }
Exemplo n.º 6
0
        public static IImage <RGB> GenerateRgb(int width, int height)
        {
            ErrorChecker.CheckWidthHeight(width, height);

            return(new RGBImage(width, height));
        }
Exemplo n.º 7
0
        /// <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));
        }