Esempio n. 1
0
 private void binarizacionToolStripMenuItem_Click(object sender, EventArgs e)
 {
     LogicBasicOperations basicOperations = new LogicBasicOperations((Bitmap)this.PBImagen.Image);
     basicOperations.decomposeRGB();
     basicOperations.binarization(125);
     basicOperations.composeRGB();
     PBImagen.Image = basicOperations.getImageMap();
 }
Esempio n. 2
0
        private void bordeVerticalToolStripMenuItem_Click(object sender, EventArgs e)
        {
            LogicBasicOperations basicOperations = new LogicBasicOperations((Bitmap)this.PBImagen.Image);

            basicOperations.decomposeRGB();
            basicOperations.greyScale();
            basicOperations.verticalEdge();

            PBImagen.Image = basicOperations.getImageMap();
        }
Esempio n. 3
0
 private void componenteRojoToolStripMenuItem_Click(object sender, EventArgs e)
 {
     LogicBasicOperations basicOperations = new LogicBasicOperations((Bitmap)this.PBImagen.Image);
     basicOperations.decomposeRGB();
     basicOperations.redComponent();
     PBImagen.Image = basicOperations.getImageMap();
 }
Esempio n. 4
0
        private void filtroRobertsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            LogicBasicOperations basicOperations = new LogicBasicOperations((Bitmap)this.PBImagen.Image);

            basicOperations.decomposeRGB();
            basicOperations.greyScale();
            basicOperations.robertsCross();

            PBImagen.Image = basicOperations.getImageMap();
        }