This document discusses guided image filtering. It introduces the guided filter, which performs edge-preserving smoothing while maintaining the gradient of a guidance image. The guided filter works by assuming a local linear model between the guidance image and filtering output within a window, and solving a cost function to determine the filter coefficients. It can perform edge-preserving smoothing and gradient-preserving filtering in linear time complexity.