Hi ,
I want to compare two different size images (eg. img1, img2) and get a resultant image that
highlights the differences in img2. Please help me.
Thanks..
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Jan 8, 2014, 11:22 PM EST
Here is the nice C# example which you can even improve.
Dhirendra MisraRank #4,173 · 360 reputationPosted Jan 8, 2014, 11:30 PM EST
http://www.c-sharpcorner.com/uploadfile/prathore/image-comparison-using-C-Sharp/
http://www.dotnetspider.com/resources/19811-Image-Compare-C.aspx
Sanjay KumarRank #561 · 4.3K reputationPosted Jan 8, 2014, 11:36 PM EST
http://blogs.msdn.com/b/domgreen/archive/2009/09/06/comparing-two-images-in-c.aspx
Atir TahirRank #3,495 · 415 reputationPosted Sep 8, 2019, 11:08 AM EDT
Sonu GuptaRank #1,261 · 1.4K reputationPosted Sep 8, 2019, 7:44 PM EDT
Maen BadwanRank #2,520 · 556 reputationPosted Sep 12, 2019, 4:26 AM EDT
For example, you can combine the pixels of the two images with the operation Xor, which will zero-out all pixels in the target image that are identical to their counterparts in the source image. Another way is to compare the images intensities.
https://www.leadtools.com/help/leadtools/v20/dh/l/imageprocessing-combinefastcommand.html
https://www.leadtools.com/help/leadtools/v20/dh/pe/combinecommand.html