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