[][src]Function opencv::photo::stylization

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

Stylization aims to produce digital imagery with a wide variety of effects not focused on photorealism. Edge-aware filters are ideal for stylization, as they can abstract regions of low contrast while preserving, or enhancing, high-contrast features.

Parameters

  • src: Input 8-bit 3-channel image.
  • dst: Output image with the same size and type as src.
  • sigma_s: %Range between 0 to 200.
  • sigma_r: %Range between 0 to 1.

C++ default parameters

  • sigma_s: 60
  • sigma_r: 0.45f