some one guide me how to get difference between two image with same height & width. here is the code using AForge Library.
Bitmap overlayImage;
Bitmap sourceImage;
//ToDo: Load the two images.
// Create filter.
Difference filter = new Difference(overlayImage);
// Apply the filter and return a new bitmap that is the difference between the source and overlay images.
Bitmap resultImage = filter.Apply(sourceImage);
// If you don't want a new image the you can apply the filter directly to the source image.
filter.ApplyInPlace(sourceImage);
now my question is bit different that after getting the difference how can i merge the difference image on my first image at the exact location.suppose you have two images of your desktop with small difference called img1 and img2. with the help of AForge library
we can get the difference image with above code. so tell me how can i apply the diff image img3 on my first image img1 with the exact location as a result 3rd image will look like img2 image. is it possible with AForge library or by any other code.if yes can
any one guide me with the sample code. thanks
mou_inn
Participant
780 Points
955 Posts
How apply diff image on the original image c#
Dec 12, 2012 10:37 AM|LINK
some one guide me how to get difference between two image with same height & width. here is the code using AForge Library.
Bitmap overlayImage;
Bitmap sourceImage;
//ToDo: Load the two images.
// Create filter.
Difference filter = new Difference(overlayImage);
// Apply the filter and return a new bitmap that is the difference between the source and overlay images.
Bitmap resultImage = filter.Apply(sourceImage);
// If you don't want a new image the you can apply the filter directly to the source image.
filter.ApplyInPlace(sourceImage);
now my question is bit different that after getting the difference how can i merge the difference image on my first image at the exact location.suppose you have two images of your desktop with small difference called img1 and img2. with the help of AForge library we can get the difference image with above code. so tell me how can i apply the diff image img3 on my first image img1 with the exact location as a result 3rd image will look like img2 image. is it possible with AForge library or by any other code.if yes can any one guide me with the sample code. thanks
Chen Yu - MS...
All-Star
21599 Points
2493 Posts
Microsoft
Re: How apply diff image on the original image c#
Dec 19, 2012 05:57 AM|LINK
Hi,
It seems you have found the result. I will post that thread.
Here is the link: http://www.aforgenet.com/forum/viewtopic.php?f=2&t=2688
Best Regards,
Feedback to us
Develop and promote your apps in Windows Store