magickWaveletDenoiseImage method
MagickWaveletDenoiseImage() removes noise from the image using a wavelet transform. The wavelet transform is a fast hierarchical scheme for processing an image using a set of consecutive lowpass and high_pass filters, followed by a decimation. This results in a decomposition into different scales which can be regarded as different “frequency bands”, determined by the mother wavelet.
This method runs inside an isolate different from the main isolate.
threshold
: set the threshold for smoothing.softness
: attenuate the smoothing threshold.
Implementation
Future<bool> magickWaveletDenoiseImage({
required double threshold,
required double softness,
}) async =>
await _magickCompute(
_magickWaveletDenoiseImage,
_MagickWaveletDenoiseImageParams(
_wandPtr.address,
threshold,
softness,
),
);