Ejemplo n.º 1
0
        public static Image <Pixel32> Sampling(this Image <Pixel32> image, int blockWidth, int blockHeight)
        {
            var accumulator = new Pixel32Accumulator();

            return(image.Sampling(accumulator, blockWidth, blockHeight));
        }
Ejemplo n.º 2
0
        public static Image <Pixel32> Sampling(this Image <Pixel32> image, int blockSize)
        {
            var accumulator = new Pixel32Accumulator();

            return(image.Sampling(accumulator, blockSize, blockSize));
        }