Пример #1
0
        private void квадрат3x3ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            Filters filter = new OpeningFilter(MaskType.Square5);

            backgroundWorker1.RunWorkerAsync(filter);
        }
Пример #2
0
        private void крест3x3ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Filters filter = new OpeningFilter(MaskType.Cross3);

            backgroundWorker1.RunWorkerAsync(filter);
        }