private List <PixelAveragingParameters> PrepareParameters() { var(original, watermark, watermarked) = ReadInputBitmaps(); var ratioValues = ratioRangeParameterControls.Read().Values(); return(ratioValues.Select(x => new PixelAveragingParameters(original, watermark, watermarked, x)).ToList()); }
private List <DftParameters> PrepareParameters() { var(original, watermark, watermarked) = ReadInputBitmaps(); var keyValues = keyRangeParameterControls.Read().Values(); var alphaValues = alphaRangeParameterControls.Read().Values(); var combinedValues = keyValues.Combine(alphaValues); return(combinedValues.Select(x => new DftParameters(original, watermark, watermarked, x.Item1, x.Item2)).ToList()); }