Ejemplo n.º 1
0
 public ClosingFilter(int _w, int _h, float[,] _kernel)
 {
     dilationFilter = new DilationFilter(_w, _h, _kernel);
     erosionFilter  = new ErosionFilter(_w, _h, _kernel);
 }
Ejemplo n.º 2
0
        private void расширениеToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Filters filter = new DilationFilter(MathMorphWidth, MathMorphkHeight, MathMorphKernel);

            backgroundWorker1.RunWorkerAsync(filter);
        }