def run_imageunary(self, message, im, fn): run_cmp(message, im, 50, 50, lambda x: run_fn(fn, x)) run_cmp(message, im, 10, 10, lambda x: run_fn(fn, x))
def run_image_pixels(self, message, im, fn): run_cmp(message, im, 50, 50, fn) run_cmp(message, im, 10, 10, fn)