public MedianEffect (int radius = 10, int percentile = 50) { if (radius < 1 || radius > 200) throw new ArgumentOutOfRangeException ("radius"); if (percentile < 0 || percentile > 100) throw new ArgumentOutOfRangeException ("percentile"); this.radius = radius; this.percentile = percentile; }