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