OSDev.org

The Place to Start for Operating System Developers
It is currently Sat Jun 01, 2024 10:26 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Tracing an image displacement, noobie help!
PostPosted: Sat Nov 20, 2004 6:35 pm 
Hello

Working on my westinghouse research project, a part of it requires me to be able to trace a change of location of an object.

For example: TWO photographs are inputed with a dark ball against light background. The program finds two object edges and calculates the displacement.

IT doesnt have to be very complex, no shape identification is required, only a point mass and its displacement.

Now, for my main question
I know Visual Basic moderately well. Very little C++ experience. Can u please point me in the correct direction, where do i start, is there a complete algorithm available somwhere?

Thank you very much


Top
  
 
 Post subject: Re:Tracing an image displacement, noobie help!
PostPosted: Sun Nov 21, 2004 2:12 am 
Offline
Member
Member
User avatar

Joined: Tue Oct 17, 2006 11:33 pm
Posts: 3882
Location: Eindhoven
1. Identify the points to track
2. Calculate the average location (add all together in both directions, divide both by total number of dots).
3. Repeat for other image(s)
4. Use information to calculate direction, speed etc.

The first step is unnecessary in computer graphics, since they should be flawless... With real photographs you are going to get those questions, such as a motion blurred image.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group