Modified Statistics so we can get statistics from parts of the image.