Gradient-domain image processing

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

A better sharpening filter can be made by only scaling the gradient in areas deemed important.

[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.