magickLocalContrastImage method
MagickLocalContrastImage() attempts to increase the appearance of large-scale light-dark transitions. Local contrast enhancement works similarly to sharpening with an unsharp mask, however the mask is instead created using an image with a greater blur distance.
This method runs inside an isolate different from the main isolate.
radius
: the radius of the Gaussian, in pixels, not counting the center pixel.strength
: the strength of the blur mask in percent.
Implementation
Future<bool> magickLocalContrastImage({
required double radius,
required double strength,
}) async =>
await _magickCompute(
_magickLocalContrastImage,
_MagickLocalContrastImageParams(
_wandPtr.address,
radius,
strength,
),
);