gradientblur
gradientblur is a digital image processing technique in which the blur applied to an image varies across the image according to a gradient map or image gradient. The effect can simulate depth of field, motion blur, or artistic diffusion by applying stronger blur where the gradient indicates out-of-focus regions or motion.
Implementation usually uses a spatially varying blur kernel: for each pixel, a local blur radius is computed
Common gradient sources include depth maps from stereo or RGB-D sensors, luminance/contrast gradients, or explicit user-defined
Challenges include maintaining edge fidelity to avoid halos, handling high-radius regions efficiently, and ensuring consistent performance
See also: blur, depth of field, selective blur, variable-radius blur, convolution, shader.