Ejemplo n.º 1
0
 private void buttonG2_Click(object sender, EventArgs e)
 {
     try
     {
         bitmap = new Bitmap(pictureBox.Image);
         Bitmap editedBitmap = fip.ToGreyscale(bitmap);
         pictureBox.Image = editedBitmap;
         this.image       = editedBitmap;
     }
     catch
     {
         toolStripStatusLabel1.Text = "Coś poszło źle...";
     }
 }
Ejemplo n.º 2
0
 public Bitmap GetFIPResults(FIP.FIP fip, Bitmap originalImage)
 {
     return(fip.ToGreyscale(originalImage));
 }
Ejemplo n.º 3
0
 private void سابياToolStripMenuItem_Click(object sender, EventArgs e)
 {
     newBitmap         = FIPfilter.ToGreyscale(newBitmap);
     pictureBox1.Image = newBitmap;
 }