magickCannyEdgeImage method
magickCannyEdgeImage()
uses a multi-stage algorithm to detect a wide
range of edges in images.
This method runs inside an isolate different from the main isolate.
radius
: the radius of the gaussian smoothing filter.sigma
: the sigma of the gaussian smoothing filter.lowerPercent
: percentage of edge pixels in the lower threshold.upperPercent
: percentage of edge pixels in the upper threshold.
Implementation
Future<bool> magickCannyEdgeImage({
required double radius,
required double sigma,
required double lowerPercent,
required double upperPercent,
}) async =>
await _magickCompute(
_magickCannyEdgeImage,
_MagickCannyEdgeImageParams(
_wandPtr.address,
radius,
sigma,
lowerPercent,
upperPercent,
),
);