erode static method

Future<Uint8List?> erode({
  1. CVPathFrom pathFrom = CVPathFrom.ASSETS,
  2. required String pathString,
  3. required List<double> kernelSize,
})

erode function of Module: Image Filtering

Implementation

static Future<Uint8List?> erode({
  CVPathFrom pathFrom = CVPathFrom.ASSETS,
  required String pathString,
  required List<double> kernelSize,
}) async {
  /// Variable to store operation result
  final Uint8List? result = await ErodeFactory.erode(
    pathFrom: pathFrom,
    pathString: pathString,
    kernelSize: kernelSize,
  );

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