guided
Apply guided filter for edge-preserving smoothing, dehazing and so on.
The filter accepts the following options:
- radius
Set the box radius in pixels. Allowed range is 1 to 20. Default is 3.
- eps
Set regularization parameter (with square). Allowed range is 0 to 1. Default is 0.01.
- mode
Set filter mode. Can be
basicorfast. Default isbasic.- sub
Set subsampling ratio for
fastmode. Range is 2 to 64. Default is 4. No subsampling occurs inbasicmode.- guidance
Set guidance mode. Can be
offoron. Default isoff. Ifoff, single input is required. Ifon, two inputs of the same resolution and pixel format are required. The second input serves as the guidance.- planes
Set planes to filter. Default is first only.