Exemplo n.º 1
0
        private void xToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            if (pictureBox1.Image != null)
            {
                cashBack.Push(image);
            }
            Filters filter = new SobelFilterX();

            backgroundWorker1.RunWorkerAsync(filter);
        }
Exemplo n.º 2
0
        private void фильтрСобеляToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Filters filter   = new SobelFilterX();
            Bitmap  newImage = (filter.processImage(image));

            image = newImage;


            backgroundWorker1.RunWorkerAsync(filter);
        }