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