extend: PixelMatrix - ability to downsample the image