1. A machine-implemented method for generating new data for a modification region of an image, the method comprising: determining boundary pixels bounding a modification region in an image, the boundary pixels having values and being outside the modification region; and generating new pixel values for the modification region using the boundary pixel values such that a rate of a rate of change in pixel values is minimized from the boundary pixel values to new modification region pixel values.