예제 #1
0
 private void buttonDetection_Click(object sender, EventArgs e)
 {
     try
     {
         bitmap = new Bitmap(pictureBox.Image);
         Bitmap editedBitmap = fip.ImagePrewittFilterColor(bitmap);
         pictureBox.Image = editedBitmap;
         this.image       = editedBitmap;
     } catch
     {
         toolStripStatusLabel1.Text = "Coś poszło źle...";
     }
 }
예제 #2
0
 private void dDDDDToolStripMenuItem_Click(object sender, EventArgs e)
 {
     newBitmap         = FIPfilter.ImagePrewittFilterColor(newBitmap);
     pictureBox1.Image = newBitmap;
 }