[][src]Function opencv::ximgproc::guided_filter

pub fn guided_filter(
    guide: &dyn ToInputArray,
    src: &dyn ToInputArray,
    dst: &mut dyn ToOutputArray,
    radius: i32,
    eps: f64,
    d_depth: i32
) -> Result<()>

Simple one-line Guided Filter call.

If you have multiple images to filter with the same guided image then use GuidedFilter interface to avoid extra computations on initialization stage.

Parameters

  • guide: guided image (or array of images) with up to 3 channels, if it have more then 3 channels then only first 3 channels will be used.

  • src: filtering image with any numbers of channels.

  • dst: output image.

  • radius: radius of Guided Filter.

  • eps: regularization term of Guided Filter. inline formula is similar to the sigma in the color space into bilateralFilter.

  • dDepth: optional depth of the output image.

See also

bilateralFilter, dtFilter, amFilter

C++ default parameters

  • d_depth: -1