Solved

Change Detection in two still images

Posted on 1998-09-24
1
203 Views
Last Modified: 2010-04-27
Is it possible to do a pixel by pixel comparison between two still images of TIF file format. After comparing, can I highlight the differences in a new window so that the changes between these two images which are taken at the same spot but at a different time. How do I do this?
0
Comment
Question by:wmlim060298
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 12

Accepted Solution

by:
mark2150 earned 100 total points
ID: 1010833
I wouldn't try and do it on the files directly (you could simply do a binary file compare if it were *that* easy!). generally I think you'ld load 'em into a couple of picture frames and then compare the pixels there. You can then set the pixels in a 3rd picture frame according to the absolute value of the difference. The drawbacks are that it would be slow as mud and that it would be TOO sensitive.

Depending on the source of the images you're generally going to find too much of a delta even from consecutive video frames for pixel-by-pixel to give you much value. (I'm presuming that the original source of the data is video - correct me if i'm wrong...)

Anyway, one of the techniques to reduce the frame-by-frame noise in the image is to discard color depth. The more bits of color you have the noiser the image is going to be. Your chances of having all 2^24 colors exact between two images is slim to none. If you reduce your color depth from 24 bits to 8, 6, or even 1 bit, your comparator will be much less suscepable to "trivial" changes.

One way to measure change is to sum the absolute value of the differences and then divide by the number of pixels in the image. This will give you a "delta per pixel" figure of merit so you won't be snowed by a large change in a small area.

I could write something if you ship me a pair of images. Send to:

Mark_Lambert@ntsc.navy.mil

What are you looking at?

M

0

Featured Post

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is about my first experience with programming Arduino.
This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question