public DenoiserFactory(IFastNlMeansColoredDenoisingSettings fastNlMeansColoredDenoisingSettings, [NotNull] IMedianBlurSettings medianBlurSettings) { this.fastNlMeansColoredDenoisingSettings = fastNlMeansColoredDenoisingSettings ?? throw new ArgumentNullException(nameof(fastNlMeansColoredDenoisingSettings)); this.medianBlurSettings = medianBlurSettings ?? throw new ArgumentNullException(nameof(medianBlurSettings)); }
public FastNlMeansColoredDenoiser([NotNull] IFastNlMeansColoredDenoisingSettings settings) { this.settings = settings ?? throw new ArgumentNullException(nameof(settings)); }