stylization function

Mat stylization(
  1. InputArray src, {
  2. double sigmaS = 60,
  3. double sigmaR = 0.45,
})

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. For further details, please see: https://docs.opencv.org/4.x/df/dac/group__photo__render.html#gacb0f7324017df153d7b5d095aed53206

Implementation

//
/// For further details, please see:
/// https://docs.opencv.org/4.x/df/dac/group__photo__render.html#gacb0f7324017df153d7b5d095aed53206
Mat stylization(
  InputArray src, {
  double sigmaS = 60,
  double sigmaR = 0.45,
}) {
  final dst = Mat.empty();
  cvRun(() => cphoto.Stylization(src.ref, dst.ref, sigmaS, sigmaR));
  return dst;
}