Example #1
0
 private void btLuminancia_Click(object sender, EventArgs e)
 {
     if (btLuminancia.Text == "LuminĂ¢ncia")
     {
         Bitmap imgDest = new Bitmap(image);
         imageBitmap = (Bitmap)image;
         Filtros.luminancia(imageBitmap, imgDest);
         pbOriginal.Image  = imgDest;
         btLuminancia.Text = "Reset";
     }
     else
     {
         pbOriginal.Image  = image;
         btLuminancia.Text = "LuminĂ¢ncia";
     }
 }
Example #2
0
 private void btmaibri_Click_1(object sender, EventArgs e)
 {
     Filtros.brilho(bitmaprgb, 10, lrgb);
     pbmodified.Image = bitmaprgb;
 }
Example #3
0
 private void btmaihue_Click_1(object sender, EventArgs e)
 {
     Filtros.hue(bitmaprgb, 1, lrgb);
     pbmodified.Image = bitmaprgb;
 }