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"; } }
private void btmaibri_Click_1(object sender, EventArgs e) { Filtros.brilho(bitmaprgb, 10, lrgb); pbmodified.Image = bitmaprgb; }
private void btmaihue_Click_1(object sender, EventArgs e) { Filtros.hue(bitmaprgb, 1, lrgb); pbmodified.Image = bitmaprgb; }