local image processing