pyrMeanShiftFiltering static method

Future<Uint8List?> pyrMeanShiftFiltering({
  1. CVPathFrom pathFrom = CVPathFrom.ASSETS,
  2. required String pathString,
  3. required double spatialWindowRadius,
  4. required double colorWindowRadius,
})

pyrMeanShiftFiltering function of Module: Image Filtering

Implementation

static Future<Uint8List?> pyrMeanShiftFiltering({
  CVPathFrom pathFrom = CVPathFrom.ASSETS,
  required String pathString,
  required double spatialWindowRadius,
  required double colorWindowRadius,
}) async {
  /// Variable to store operation result
  final Uint8List? result =
      await PyrMeanShiftFilteringFactory.pyrMeanShiftFiltering(
          pathFrom: pathFrom,
          pathString: pathString,
          spatialWindowRadius: spatialWindowRadius,
          colorWindowRadius: colorWindowRadius);

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