Пример #1
0
        private void tbBlur_ValueChanged(object sender, EventArgs e)
        {
            Program.step = (2 * tbBlur.Value) + 1;

            RegionBlur = (Bitmap)RegionImgOverEtalon.Clone();
            for (int i = 1; i <= tbBlur.Value; i++)
            {
                RegionBlur = Calculate.Blur((Bitmap)RegionBlur);
            }

            pb3.Image = RegionBlur;
            Recalculation();
        }