[][src]Function opencv::ximgproc::bilateral_texture_filter

pub fn bilateral_texture_filter(
    src: &dyn ToInputArray,
    dst: &mut dyn ToOutputArray,
    fr: i32,
    num_iter: i32,
    sigma_alpha: f64,
    sigma_avg: f64
) -> Result<()>

Applies the bilateral texture filter to an image. It performs structure-preserving texture filter. For more details about this filter see Cho2014.

Parameters

  • src: Source image whose depth is 8-bit UINT or 32-bit FLOAT

  • dst: Destination image of the same size and type as src.

  • fr: Radius of kernel to be used for filtering. It should be positive integer

  • numIter: Number of iterations of algorithm, It should be positive integer

  • sigmaAlpha: Controls the sharpness of the weight transition from edges to smooth/texture regions, where a bigger value means sharper transition. When the value is negative, it is automatically calculated.

  • sigmaAvg: Range blur parameter for texture blurring. Larger value makes result to be more blurred. When the value is negative, it is automatically calculated as described in the paper.

See also

rollingGuidanceFilter, bilateralFilter

C++ default parameters

  • fr: 3
  • num_iter: 1
  • sigma_alpha: -1.
  • sigma_avg: -1.