[][src]Function opencv::photo::edge_preserving_filter

pub fn edge_preserving_filter(
    src: &dyn ToInputArray,
    dst: &mut dyn ToOutputArray,
    flags: i32,
    sigma_s: f32,
    sigma_r: f32
) -> Result<()>

Filtering is the fundamental operation in image and video processing. Edge-preserving smoothing filters are used in many different applications EM11 .

Parameters

  • src: Input 8-bit 3-channel image.
  • dst: Output 8-bit 3-channel image.
  • flags: Edge preserving filters: cv::RECURS_FILTER or cv::NORMCONV_FILTER
  • sigma_s: %Range between 0 to 200.
  • sigma_r: %Range between 0 to 1.

C++ default parameters

  • flags: 1
  • sigma_s: 60
  • sigma_r: 0.4f