magickKuwaharaImage method

Future<bool> magickKuwaharaImage({
  1. required double radius,
  2. required double sigma,
})

Use MagickKuwaharaImage() is an edge preserving noise reduction filter.

This method runs inside an isolate different from the main isolate.

  • radius: the square window radius.
  • sigma: the standard deviation of the Gaussian, in pixels.

Implementation

Future<bool> magickKuwaharaImage({
  required double radius,
  required double sigma,
}) async =>
    await _magickCompute(
      _magickKuwaharaImage,
      _MagickKuwaharaImageParams(
        _wandPtr.address,
        radius,
        sigma,
      ),
    );