public SpreadingForm() { InitializeComponent(); blurRadiusNumeric.Value = ProceduralBlur.DEFAULT_BLUR_RADIUS; imageTypeComboBox.SelectedIndex = 0; filterTypeComboBox.SelectedIndex = 0; thinLensBlur = new ThinLensDepthMapBlur(50, 20, 100, 1000, 260); apertureNumeric.Value = (decimal)thinLensBlur.Aperture; focusPlaneNumeric.Value = (decimal)thinLensBlur.FocusPlane; toneMappingCheckBox.Checked = false; RectangleFilter = new RectangleSpreadingFilter(); PerimeterFilter = new PerimeterSpreadingFilter(); HybridFilter = new HybridSpreadingFilter(RectangleFilter, PerimeterFilter); }