scharr static method

Future<Uint8List?> scharr({
  1. CVPathFrom pathFrom = CVPathFrom.ASSETS,
  2. required String pathString,
  3. required int depth,
  4. required int dx,
  5. required int dy,
})

scharr function of Module: Image Filtering

Implementation

static Future<Uint8List?> scharr({
  CVPathFrom pathFrom = CVPathFrom.ASSETS,
  required String pathString,
  required int depth,
  required int dx,
  required int dy,
}) async {
  /// Variable to store operation result
  final Uint8List? result = await ScharrFactory.scharr(
    pathFrom: pathFrom,
    pathString: pathString,
    depth: depth,
    dx: dx,
    dy: dy,
  );

  /// Function returns the response from method channel
  return result;
}