Gradient-domain image processing

This gradient can then be manipulated directly to produce several different effects when the resulting image is solved for.

For example, if a uniform constant scales the gradient, it results in a simple sharpening filter.

[7] Digital compositing is a common task in image editing in which some or all of one photo is pasted into another.

Notice that the hand and the eye shifted color slightly in the image reconstructed from the modified gradient.

However, it is possible to add constraints so that only the pasted section is solved, leaving the rest of the image unmodified.