private void clickMe_Click(object sender, EventArgs e) { if (Bitmap1 == null && Bitmap2 == null) { return; } FastBitmap img1 = new FastBitmap(Bitmap1); FastBitmap img2 = new FastBitmap(Bitmap2); IImageFusion fusion = new InterlacingMaximumMethodFusion(); var imgResult = fusion.Fusion(img1, img2); pictureBox.Image = imgResult.Bitmap; }
/// <summary> /// InterlacingMaximumMethod /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Button5_Click(object sender, EventArgs e) { IImageFusion fusion = new InterlacingMaximumMethodFusion(); CreateFusionImage(fusion); }