[][src]Function opencv::cudaimgproc::bilateral_filter

pub fn bilateral_filter(
    src: &dyn ToInputArray,
    dst: &mut dyn ToOutputArray,
    kernel_size: i32,
    sigma_color: f32,
    sigma_spatial: f32,
    border_mode: i32,
    stream: &mut Stream
) -> Result<()>

Performs bilateral filtering of passed image

Parameters

  • src: Source image. Supports only (channels != 2 && depth() != CV_8S && depth() != CV_32S && depth() != CV_64F).
  • dst: Destination imagwe.
  • kernel_size: Kernel window size.
  • sigma_color: Filter sigma in the color space.
  • sigma_spatial: Filter sigma in the coordinate space.
  • borderMode: Border type. See borderInterpolate for details. BORDER_REFLECT101 , BORDER_REPLICATE , BORDER_CONSTANT , BORDER_REFLECT and BORDER_WRAP are supported for now.
  • stream: Stream for the asynchronous version.

See also

bilateralFilter

C++ default parameters

  • border_mode: BORDER_DEFAULT
  • stream: Stream::Null()