Exemple #1
0
 // 亮度调整
 private void BrightnessBar_Scroll(object sender, EventArgs e)
 {
     image = ImageProcessor.BrightnessAdjust(o_image, BrightnessBar.Value);
     PictureDisplayer.Image = getImage();
 }
Exemple #2
0
 // 高斯模糊
 private void GaussianBlur_Scroll(object sender, EventArgs e)
 {
     image = ImageProcessor.GaussianBlur(o_image, GaussianBlur.Value);
     PictureDisplayer.Image = getImage();
 }
Exemple #3
0
 // 灰度化
 private void GrayScaleButton_Click(object sender, EventArgs e)
 {
     image = ImageProcessor.Greyscale(getImage());
     PictureDisplayer.Image = getImage();
 }
Exemple #4
0
 private void trackBarB_Scroll(object sender, EventArgs e)
 {
     image = ImageProcessor.SetB(getImage(), o_image, trackBarB.Value);
     PictureDisplayer.Image = getImage();
 }
Exemple #5
0
 // 水平翻转
 private void HorizonalFlipButton_Click(object sender, EventArgs e)
 {
     setImage(ImageProcessor.HorizenalFlit(getImage()));
     PictureDisplayer.Image = getImage();
 }
Exemple #6
0
 // 逆时针旋转
 private void AntiClockwiseButton_Click(object sender, EventArgs e)
 {
     setImage(ImageProcessor.AntiClockwise(getImage()));
     PictureDisplayer.Image = getImage();
 }